Skip to content

Commit

Permalink
Merge pull request #321 from NorskHelsenett/refactor/changes-to-vm-model
Browse files Browse the repository at this point in the history
refactor: usage should be a number not a string
  • Loading branch information
402-matiaskj authored Jan 30, 2025
2 parents ab49236 + 5365306 commit 9bb2d76
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 9bb2d76

Please sign in to comment.