git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
030484b
)
Only a single credential is being passed in to ListResources
author
Andy Bavier
<acb@cs.princeton.edu>
Tue, 5 Jul 2011 19:45:33 +0000
(15:45 -0400)
committer
Andy Bavier
<acb@cs.princeton.edu>
Tue, 5 Jul 2011 19:45:33 +0000
(15:45 -0400)
sfa/managers/aggregate_manager_eucalyptus.py
patch
|
blob
|
history
diff --git
a/sfa/managers/aggregate_manager_eucalyptus.py
b/sfa/managers/aggregate_manager_eucalyptus.py
index
1b6d143
..
cbd7bba
100644
(file)
--- 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()