tripleo_all_nodes_data: Append server node IP to the list.
This is the proper way to add another element to a list. Otherwise the plugin would fail if a string was trying to be concatenated to a list. Change-Id: Ieba3396bbe89e2ad1de7ad842b31f3ad092ff36f Closes-Bug: #1871228
This commit is contained in:
parent
3ed3739f04
commit
e0d073b936
|
@ -126,7 +126,7 @@ class ActionModule(ActionBase):
|
|||
service + '_bootstrap_node_ip', None):
|
||||
v = service + '_bootstrap_node_ip'
|
||||
service_bootstrap_node_ips = \
|
||||
service_node_ips + self.all_nodes_extra_map_data[v]
|
||||
service_node_ips.append(self.all_nodes_extra_map_data[v])
|
||||
else:
|
||||
service_bootstrap_node_ips = service_node_ips
|
||||
if service_bootstrap_node_ips:
|
||||
|
|
Loading…
Reference in New Issue