Commit b2b47082 by e0d

Merge pull request #1435 from edx/e0d/inventory-fix

replacing colons in the state name
parents 4de6a1d0 8e9f1463
......@@ -67,7 +67,7 @@ class LifecycleInventory():
inventory[group.name].append(private_ip_address)
inventory[group.name + "_" + instance.lifecycle_state].append(private_ip_address)
inventory[instance.lifecycle_state].append(private_ip_address)
inventory[instance.lifecycle_state.replace(":","_")].append(private_ip_address)
print json.dumps(inventory, sort_keys=True, indent=2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment