diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py index e7ad3f4f7fb..c7c94eac9df 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py @@ -640,8 +640,8 @@ class StorageDomainModule(BaseModule): if not dc_name: # Find the DC, where the storage resides: dc_name = self._find_attached_datacenter_name(storage_domain.name) - self._service = self._attached_sds_service(storage_domain, dc_name) - self._maintenance(self._service, storage_domain) + self._service = self._attached_sds_service(dc_name) + self._maintenance(storage_domain) def update_check(self, entity): return (