Skip to content

Commit

Permalink
Merge pull request vmware#3465 from dougm/issue-3464
Browse files Browse the repository at this point in the history
fix: govc vm.disk.change should only modify CapacityInBytes
  • Loading branch information
dougm authored Jun 7, 2024
2 parents b9a71f7 + 298cfbf commit 1db964c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion govc/vm/disk/change.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ func (cmd *change) Run(ctx context.Context, f *flag.FlagSet) error {

if int64(cmd.bytes) != 0 {
editdisk.CapacityInBytes = int64(cmd.bytes)
editdisk.CapacityInKB = int64(0) // zero deprecated field
}

if editdisk.StorageIOAllocation == nil {
Expand Down

0 comments on commit 1db964c

Please sign in to comment.