From: Scott Baker Date: Thu, 9 Oct 2014 18:11:17 +0000 (-0700) Subject: delete commented out lines X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=commitdiff_plain;h=cfa4d11af8e451d7128da5fe6cb3d5324d01833c delete commented out lines --- diff --git a/planetstack/tools/get_instance_name.py b/planetstack/tools/get_instance_name.py index 01fc841..d95f064 100644 --- a/planetstack/tools/get_instance_name.py +++ b/planetstack/tools/get_instance_name.py @@ -18,8 +18,6 @@ def get_slice_id(slice_name): return r.json()[0]["id"] def get_node_id(host_name): -# r = requests.get(NODES_API + "?name=%s" % host_name, auth=opencloud_auth) -# return r.json()[0]["id"] r = requests.get(NODES_API) nodes = r.json() for node in nodes: