Skip to content

Commit

Permalink
ovirt_quota: Convert storage size to integer (oVirt#712)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Necas <mnecas@redhat.com>
  • Loading branch information
mnecas committed Oct 4, 2023
1 parent 6ee9528 commit 49a85a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- ovirt_quota - Convert storage size to integer (https://github.com/oVirt/ovirt-ansible-collection/pull/712)
2 changes: 1 addition & 1 deletion plugins/modules/ovirt_quota.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def main():
for storage in module.params.get('storages'):
sd_limit_service.add(
limit=otypes.QuotaStorageLimit(
limit=storage.get('size'),
limit=int(storage.get('size')),
storage_domain=search_by_name(
connection.system_service().storage_domains_service(),
storage.get('name')
Expand Down

0 comments on commit 49a85a7

Please sign in to comment.