From 99dcb4ea92a32466cf19e00e766f2e2999bbccc0 Mon Sep 17 00:00:00 2001 From: potapum Date: Wed, 15 Jan 2020 11:16:42 +0300 Subject: [PATCH] Typo fix Hello, while browsing your repo I've found what is appears to be typo in dict key name. --- vralib/deployment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vralib/deployment.py b/vralib/deployment.py index 45c940d..304be0a 100644 --- a/vralib/deployment.py +++ b/vralib/deployment.py @@ -83,7 +83,7 @@ def fromid(cls, session, resource_id): for child in children["content"]: if child["resourceType"] == "Infrastructure.Virtual": deployment_children.append(VirtualMachine.fromid(session, child["resourceId"])) - if child["resourceTypet"] == "Infrastructure.Network.LoadBalancer.NSX": + if child["resourceType"] == "Infrastructure.Network.LoadBalancer.NSX": deployment_children.append(LoadBalancer.fromid(session, child["resourceId"])) if child["resourceType"] == "Infrastructure.Network.Gateway.NSX.Edge": deployment_children.append(Edge.fromid(session, child["resourceId"]))