Skip to content

Commit

Permalink
fix issue #400
Browse files Browse the repository at this point in the history
  • Loading branch information
Gevorg-Khachatryaan authored and Gevorg-Khachatryaan committed Sep 28, 2023
1 parent 56735f1 commit 49049bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/prism/vms.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def _generate_disk_spec(
):
if disk.get("bus") in ["IDE", "SATA"]:
self.require_vm_restart = True
disk["disk_size_bytes"] = vdisk["size_gb"] * 1024 * 1024 * 1024
disk["disk_size_bytes"] = disk_size_bytes
else:
if disk.get("device_properties", {}).get("device_type") == "CDROM":
self.module.fail_json(
Expand Down

0 comments on commit 49049bc

Please sign in to comment.