Skip to content

Commit 0fb3977

Browse files
committed
Using uint64 for sizes
1 parent 706e3a2 commit 0fb3977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type ScalewayVolume struct {
9797
Identifier string `json:"id,omitempty"`
9898

9999
// Size is the allocated size of the volume
100-
Size int64 `json:"size,omitempty"`
100+
Size uint64 `json:"size,omitempty"`
101101

102102
// CreationDate is the creation date of the volume
103103
CreationDate string `json:"creation_date,omitempty"`
@@ -208,7 +208,7 @@ type ScalewaySnapshot struct {
208208
ModificationDate string `json:"modification_date,omitempty"`
209209

210210
// Size is the allocated size of the volume
211-
Size int64 `json:"size,omitempty"`
211+
Size uint64 `json:"size,omitempty"`
212212

213213
// Organization is the owner of the snapshot
214214
Organization string `json:"organization"`

0 commit comments

Comments
 (0)