From 64c67d947362e2653feaab7fa9ffb3b6016d0650 Mon Sep 17 00:00:00 2001 From: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Date: Sun, 5 Nov 2023 19:52:37 -0500 Subject: [PATCH] fix(storage): unmarshal error when list storage containing large files (#688) Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --- proxmox/nodes/storage_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox/nodes/storage_types.go b/proxmox/nodes/storage_types.go index c381bf50..ee83f19c 100644 --- a/proxmox/nodes/storage_types.go +++ b/proxmox/nodes/storage_types.go @@ -19,7 +19,7 @@ type DatastoreFileListResponseBody struct { type DatastoreFileListResponseData struct { ContentType string `json:"content"` FileFormat string `json:"format"` - FileSize int `json:"size"` + FileSize int64 `json:"size"` ParentVolumeID *string `json:"parent,omitempty"` SpaceUsed *int `json:"used,omitempty"` VMID *int `json:"vmid,omitempty"`