From e4fb84de6ff3316f9057aabea0d744afbf75c449 Mon Sep 17 00:00:00 2001 From: Alex Kulikovskikh Date: Sat, 25 Apr 2020 19:43:50 -0400 Subject: [PATCH] Fix Container Response Data --- proxmox/virtual_environment_container_types.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proxmox/virtual_environment_container_types.go b/proxmox/virtual_environment_container_types.go index 14fdc60b..bfe6d70e 100644 --- a/proxmox/virtual_environment_container_types.go +++ b/proxmox/virtual_environment_container_types.go @@ -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"`