Skip to content

Commit

Permalink
Fixing the lint issue on vmware_guest_disk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alezzandro committed Dec 21, 2024
1 parent 8a2c483 commit 68d70e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/modules/vmware_guest_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,6 @@ def ensure_disks(self, vm_obj=None):
disk_spec = self.get_ioandshares_diskconfig(disk_spec, disk)
disk_spec.device.capacityInKB = disk['size']
disk_change = True

# If disk is not vpmem we check if there is a change in disk mode
if disk['disk_type'] != 'vpmemdisk' and disk['disk_mode'] != disk_spec.device.backing.diskMode:
# set the operation to edit so that it knows to keep other settings
Expand Down

0 comments on commit 68d70e8

Please sign in to comment.