ovirt: Fix API calls in ovirt_storage_domain (#61825)
* Fixed argument in _attached_sds_service API * Fixed argument in _maintenance API Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
c723eb2f04
commit
823c108fac
1 changed files with 2 additions and 2 deletions
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue