From 61c6a6b7b31cc0e8efd66edf71c4cb18759bc82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ne=C4=8Das?= Date: Wed, 15 Apr 2020 03:11:46 +0200 Subject: [PATCH] ovirt_storage_domain: fix update_check warning_low_space (#68505) * ovirt_storage_domain: fix update_check warning_low_space * add changelog --- ...-ovirt_storage_domain-fix-update_check-warning_low_space.yml | 2 ++ lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/68505-ovirt_storage_domain-fix-update_check-warning_low_space.yml diff --git a/changelogs/fragments/68505-ovirt_storage_domain-fix-update_check-warning_low_space.yml b/changelogs/fragments/68505-ovirt_storage_domain-fix-update_check-warning_low_space.yml new file mode 100644 index 00000000000..7848fccf60f --- /dev/null +++ b/changelogs/fragments/68505-ovirt_storage_domain-fix-update_check-warning_low_space.yml @@ -0,0 +1,2 @@ +bugfixes: + - "ovirt_storage_domain: fix update_check for warning_low_space" diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py index 2f5e11b4420..2a3fcdd2548 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py @@ -651,7 +651,7 @@ class StorageDomainModule(BaseModule): equal(self.param('critical_space_action_blocker'), entity.critical_space_action_blocker) and equal(self.param('discard_after_delete'), entity.discard_after_delete) and equal(self.param('wipe_after_delete'), entity.wipe_after_delete) and - equal(self.param('warning_low_space_indicator'), entity.warning_low_space_indicator) + equal(self.param('warning_low_space'), entity.warning_low_space_indicator) )