Skip to content

Commit

Permalink
refactor: usage should be a number not a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Matias Skjetne committed Jan 30, 2025
1 parent ab49236 commit 5365306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rorresources/rortypes/resourcedef_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type ResourceVirtualMachineDiskSpec struct {
}

type ResourceVirtualMachineDiskStatus struct {
UsageBytes string `json:"usageBytes"`
UsageBytes int `json:"usageBytes"`

// is this disk mounted by the os? A disk might be attached to the vm but
// not mounted by the OS, it can also be unknown because the vm might not report
Expand Down

0 comments on commit 5365306

Please sign in to comment.