Skip to content

Commit

Permalink
ovirt: Fix API calls in ovirt_storage_domain (ansible#61825)
Browse files Browse the repository at this point in the history
* Fixed argument in _attached_sds_service API
* Fixed argument in _maintenance API

Signed-off-by: Abhijeet Kasurde <[email protected]>
  • Loading branch information
Akasurde authored Sep 5, 2019
1 parent c723eb2 commit 823c108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/ovirt/ovirt_storage_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,8 @@ def unattached_pre_action(self, storage_domain):
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 (
Expand Down

0 comments on commit 823c108

Please sign in to comment.