0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-05 21:43:59 +00:00

fix(lxc): unmarshal string/int vmid as int when read container status (#622)

fix(lxc): unmarshal string/int vmid as int

Signed-off-by: zamrih <ramzi.hb@gmail.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
zamrih 2023-10-16 20:14:26 -04:00 committed by GitHub
parent 21e33d4261
commit b90445a12c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ type GetStatusResponseData struct {
SwapAllocation *int `json:"maxswap,omitempty"`
Tags *string `json:"tags,omitempty"`
Uptime *int `json:"uptime,omitempty"`
VMID *int `json:"vmid,omitempty"`
VMID *types.CustomInt `json:"vmid,omitempty"`
}
// StartResponseBody contains the body from a container start response.