cloud: ovirt: ovirt_cluster.py Fix issue with non required parameter 'external_network_providers' (#32797)
This commit is contained in:
parent
db6a72ebf9
commit
414d0e92ac
1 changed files with 2 additions and 0 deletions
|
@ -507,6 +507,8 @@ class ClustersModule(BaseModule):
|
||||||
return equal(item.get('id'), entity.id) and equal(item.get('name'), entity.name)
|
return equal(item.get('id'), entity.id) and equal(item.get('name'), entity.name)
|
||||||
|
|
||||||
def _update_check_external_network_providers(self, entity):
|
def _update_check_external_network_providers(self, entity):
|
||||||
|
if self.param('external_network_providers') is None:
|
||||||
|
return True
|
||||||
if entity.external_network_providers is None:
|
if entity.external_network_providers is None:
|
||||||
return not self.param('external_network_providers')
|
return not self.param('external_network_providers')
|
||||||
entity_providers = self._connection.follow_link(entity.external_network_providers)
|
entity_providers = self._connection.follow_link(entity.external_network_providers)
|
||||||
|
|
Loading…
Reference in a new issue