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:
parent
21e33d4261
commit
b90445a12c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user