delete commented out lines
authorScott Baker <smbaker@gmail.com>
Thu, 9 Oct 2014 18:11:17 +0000 (11:11 -0700)
committerScott Baker <smbaker@gmail.com>
Thu, 9 Oct 2014 18:11:17 +0000 (11:11 -0700)
planetstack/tools/get_instance_name.py

index 01fc841..d95f064 100644 (file)
@@ -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: