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 26, 2023
1 parent 923e9c7 commit 56735f1
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 @@ -425,7 +425,7 @@ def _generate_disk_spec(

else:
if vdisk.get("size_gb"):
disk_size_bytes = vdisk["size_gb"] * 1024 * 1024 * 1024
disk_size_bytes = int(vdisk["size_gb"]) * 1024 * 1024 * 1024
if not vdisk.get("uuid") or (
"disk_size_bytes" in disk
and disk_size_bytes >= disk.get("disk_size_bytes", 0)
Expand Down

0 comments on commit 56735f1

Please sign in to comment.