Merge pull request #2712 from AlanCoding/easy_way

[openstack option 2] cherry pick only openstack critical fix for empty group
This commit is contained in:
Alan Rominger
2018-07-30 19:23:08 -04:00
committed by GitHub

View File

@@ -81,7 +81,8 @@ def get_groups_from_server(server_vars, namegroup=True):
groups.append(cloud) groups.append(cloud)
# Create a group on region # Create a group on region
groups.append(region) if region:
groups.append(region)
# And one by cloud_region # And one by cloud_region
groups.append("%s_%s" % (cloud, region)) groups.append("%s_%s" % (cloud, region))