fix lookup of site from node
diff --git a/xos/tosca/resources/node.py b/xos/tosca/resources/node.py
index ed39737..59b915b 100644
--- a/xos/tosca/resources/node.py
+++ b/xos/tosca/resources/node.py
@@ -19,7 +19,7 @@
site = None
siteName = self.get_requirement("tosca.relationships.MemberOfSite", throw_exception=False)
if siteName:
- site = self.get_xos_object(Site, name=siteName)
+ site = self.get_xos_object(Site, login_base=siteName)
args["site"] = site
deploymentName = self.get_requirement("tosca.relationships.MemberOfDeployment", throw_exception=False)