Added check of return value from fuel-devops
When we manage the environment with a manually added node, the lack of this check leads to a fail. Change-Id: I782bb7e0f6676281207e0f4201ce6b9fd930e76e
This commit is contained in:
parent
a87ec53f71
commit
ea0364a256
@ -3236,6 +3236,7 @@ class FuelWebClient30(FuelWebClient29):
|
||||
|
||||
node = [n for n in self.client.list_nodes() if n['id'] == node_id][0]
|
||||
d_node = self.get_devops_node_by_nailgun_node(node)
|
||||
if d_node:
|
||||
bonds = [n for n in d_node.network_configs
|
||||
if n.aggregation is not None]
|
||||
for bond in bonds:
|
||||
|
Loading…
Reference in New Issue
Block a user