From: Andy Bavier Date: Tue, 5 Jul 2011 19:45:33 +0000 (-0400) Subject: Only a single credential is being passed in to ListResources X-Git-Tag: sfa-1.0-27~24^2~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5765b76d26e94610216b6d6a78cc00c4578a5c92;p=sfa.git Only a single credential is being passed in to ListResources --- diff --git a/sfa/managers/aggregate_manager_eucalyptus.py b/sfa/managers/aggregate_manager_eucalyptus.py index 1b6d1432..cbd7bba4 100644 --- a/sfa/managers/aggregate_manager_eucalyptus.py +++ b/sfa/managers/aggregate_manager_eucalyptus.py @@ -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()