X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAddNode.py;fp=PLC%2FMethods%2FAddNode.py;h=c7870113598a3768bf226c3bd100a2a42482be86;hb=d25787ab5419aae9b6070b61eaead9f8dd421c40;hp=90cf14f1ccdd6c499889377ccf43bd9e1ea97244;hpb=2047b9ace34cfa538917cdf4d4c2d7a621d840a4;p=plcapi.git diff --git a/PLC/Methods/AddNode.py b/PLC/Methods/AddNode.py index 90cf14f..c787011 100644 --- a/PLC/Methods/AddNode.py +++ b/PLC/Methods/AddNode.py @@ -75,9 +75,6 @@ class AddNode(Method): # since hostname was specified lets add the 'hrn' node tag root_auth = self.api.config.PLC_HRN_ROOT - # sub auth is the login base of this node's site - sites = Sites(self.api, node['site_id'], ['login_base']) - site = sites[0] login_base = site['login_base'] tags['hrn'] = hostname_to_hrn(root_auth, login_base, node['hostname'])