Skip to content

Commit

Permalink
fix: fix disk size computation
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Feb 24, 2025
1 parent 7f43a4a commit 1ed86ef
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 1ed86ef

Please sign in to comment.