Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

get all instances should work now

  • Loading branch information...
commit 7909e4bdef3f5a0e90b2a18d505a41ddc1cba067 1 parent 69cc3c7
@buzztroll buzztroll authored
Showing with 1 addition and 3 deletions.
  1. +1 −1  pyhantom/system/epu/epu_client.py
  2. +0 −2  sandbox/asg_list.py
View
2  pyhantom/system/epu/epu_client.py
@@ -381,7 +381,7 @@ def terminate_instances(self, user_obj, instance_id, adjust_policy):
raise
def get_autoscale_instances(self, user_obj, instance_id_list=None, max=-1, startToken=None):
- lc_list_type = AWSListType(list_name)
+ lc_list_type = AWSListType("AutoScalingInstances")
instance_list = self._find_all_instances(user_obj, instance_id_list)
for inst in instance_list:
out_t = convert_instance_type(inst['domain_name'], inst)
View
2  sandbox/asg_list.py
@@ -27,5 +27,3 @@
print "\t\t%s" % (dir(asg))
for i in asg.instances:
print "\n\t%s" % (i.availability_zone)
-
-
Please sign in to comment.
Something went wrong with that request. Please try again.