Rename network_id to instance_id on client side

This commit is contained in:
Erik Johnston 2016-12-12 14:46:13 +00:00
parent 09cbcb78d3
commit 2bf5a47b3e

View File

@ -181,7 +181,7 @@ class ApplicationServiceApi(SimpleHttpClient):
for instance in info.get("instances", []): for instance in info.get("instances", []):
network_id = instance.get("network_id", None) network_id = instance.get("network_id", None)
if network_id is not None: if network_id is not None:
instance["network_id"] = ThirdPartyInstanceID( instance["instance_id"] = ThirdPartyInstanceID(
service.id, network_id, service.id, network_id,
).to_string() ).to_string()