Skip to content

Commit

Permalink
fix: fix disk size computation (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez authored Feb 24, 2025
1 parent 7f43a4a commit 6b3e0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/source/vmware/vmware_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ func (vc *VmwareSource) syncVM(
vmDiskSizeB += disk.CapacityInBytes
}
}
vmDiskSizeMiB := vmDiskSizeB / constants.MiB
vmDiskSizeMiB := vmDiskSizeB / constants.GiB * constants.KB

// Determine guest OS using fallback mechanisms
var platformName string
Expand Down

0 comments on commit 6b3e0bc

Please sign in to comment.