Only a single credential is being passed in to ListResources
authorAndy Bavier <acb@cs.princeton.edu>
Tue, 5 Jul 2011 19:45:33 +0000 (15:45 -0400)
committerAndy Bavier <acb@cs.princeton.edu>
Tue, 5 Jul 2011 19:45:33 +0000 (15:45 -0400)
sfa/managers/aggregate_manager_eucalyptus.py

index 1b6d143..cbd7bba 100644 (file)
@@ -404,7 +404,8 @@ def ListResources(api, creds, options, call_id):
     # get hrn of the original caller
     origin_hrn = options.get('origin_hrn', None)
     if not origin_hrn:
-        origin_hrn = Credential(string=creds[0]).get_gid_caller().get_hrn()
+        origin_hrn = Credential(string=creds).get_gid_caller().get_hrn()
+        # origin_hrn = Credential(string=creds[0]).get_gid_caller().get_hrn()
 
     conn = getEucaConnection()