0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 12:32:59 +00:00

Merge pull request #23 from blz-ea/fix-container-response-data

Fix Container HTTP GET response, cannot unmarshal data into Go struct
This commit is contained in:
Dan R. Petersen 2020-04-26 16:47:25 +02:00 committed by GitHub
commit 3ccdb7a114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,11 +159,11 @@ type VirtualEnvironmentContainerGetResponseData struct {
HookScript *string `json:"hookscript,omitempty"`
Hostname *string `json:"hostname,omitempty"`
Lock *CustomBool `json:"lock,omitempty"`
LXCConfiguration *[]string `json:"lxc,omitempty"`
MountPoint0 VirtualEnvironmentContainerCustomMountPointArray `json:"mp0,omitempty"`
MountPoint1 VirtualEnvironmentContainerCustomMountPointArray `json:"mp1,omitempty"`
MountPoint2 VirtualEnvironmentContainerCustomMountPointArray `json:"mp2,omitempty"`
MountPoint3 VirtualEnvironmentContainerCustomMountPointArray `json:"mp3,omitempty"`
LXCConfiguration *[][2]string `json:"lxc,omitempty"`
MountPoint0 VirtualEnvironmentContainerCustomMountPoint `json:"mp0,omitempty"`
MountPoint1 VirtualEnvironmentContainerCustomMountPoint `json:"mp1,omitempty"`
MountPoint2 VirtualEnvironmentContainerCustomMountPoint `json:"mp2,omitempty"`
MountPoint3 VirtualEnvironmentContainerCustomMountPoint `json:"mp3,omitempty"`
NetworkInterface0 *VirtualEnvironmentContainerCustomNetworkInterface `json:"net0,omitempty"`
NetworkInterface1 *VirtualEnvironmentContainerCustomNetworkInterface `json:"net1,omitempty"`
NetworkInterface2 *VirtualEnvironmentContainerCustomNetworkInterface `json:"net2,omitempty"`