git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no need to get origin hrn here
[sfa.git]
/
sfa
/
managers
/
aggregate_manager_pl.py
diff --git
a/sfa/managers/aggregate_manager_pl.py
b/sfa/managers/aggregate_manager_pl.py
index
54c6583
..
2b02c3a
100644
(file)
--- a/
sfa/managers/aggregate_manager_pl.py
+++ b/
sfa/managers/aggregate_manager_pl.py
@@
-228,11
+228,6
@@
def get_rspec(api, creds, options):
xrn = options.get('geni_slice_urn', None)
hrn, type = urn_to_hrn(xrn)
xrn = options.get('geni_slice_urn', None)
hrn, type = urn_to_hrn(xrn)
- # 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()
-
# look in cache first
if api.cache and not xrn:
rspec = api.cache.get('nodes')
# look in cache first
if api.cache and not xrn:
rspec = api.cache.get('nodes')