Skip to content

Commit

Permalink
fix(storage): unmarshal error when list storage containing large files (
Browse files Browse the repository at this point in the history
#688)

Signed-off-by: Pavel Boldyrev <[email protected]>
  • Loading branch information
bpg authored Nov 6, 2023
1 parent e89d53b commit 64c67d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/nodes/storage_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 64c67d9

Please sign in to comment.