From 81355e0e9eae7480a4db31f8e74dd03f2b88ba4c Mon Sep 17 00:00:00 2001 From: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Date: Thu, 9 Sep 2021 14:29:56 -0400 Subject: [PATCH] Fix JSON unmarshal error when deploying LCX container This closes #15 --- proxmox/virtual_environment_container_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox/virtual_environment_container_types.go b/proxmox/virtual_environment_container_types.go index bfe6d70e..7bec71e3 100644 --- a/proxmox/virtual_environment_container_types.go +++ b/proxmox/virtual_environment_container_types.go @@ -200,7 +200,7 @@ type VirtualEnvironmentContainerGetStatusResponseData struct { SwapAllocation *int `json:"maxswap,omitempty"` Tags *string `json:"tags,omitempty"` Uptime *int `json:"uptime,omitempty"` - VMID string `json:"vmid,omitempty"` + VMID *int `json:"vmid,omitempty"` } // VirtualEnvironmentContainerRebootRequestBody contains the body for a container reboot request.