Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deaddict committed Mar 27, 2020
1 parent 1432a83 commit 939fd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/qemu_structure.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func flattenVmQemu(vmr *pxapi.VmRef, config *pxapi.ConfigQemu, d *schema.Resourc

// Disks.
configDisksSet := d.Get("disk").(*schema.Set)
activeDisksSet := flattenDevices(d.Get("disk").(*schema.Set), config.QemuDisks)
activeDisksSet := flattenDevices(configDisksSet, config.QemuDisks)
d.Set("disk", activeDisksSet)

// Display.
Expand Down

0 comments on commit 939fd10

Please sign in to comment.