Skip to content

Commit 3ef9199

Browse files
mbokmantenthirtyam
authored andcommitted
fix: DiskDiffOperation hashicorp#2363
1 parent 2c59a20 commit 3ef9199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vsphere/internal/virtualdevice/virtual_machine_disk_subresource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ nextNew:
683683
delete(nm, "size")
684684
}
685685
}
686-
if ok := nm["datastore_id"]; !ok {
686+
if _, ok := nm["datastore_id"]; !ok {
687687
nm["datastore_id"] = diskDatastoreComputedName
688688
}
689689
normalized = append(normalized, nm)

0 commit comments

Comments
 (0)