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
do not cache slice rspec
[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
9f407ee
..
df6f1ce
100644
(file)
--- a/
sfa/managers/aggregate_manager_pl.py
+++ b/
sfa/managers/aggregate_manager_pl.py
@@
-322,8
+322,9
@@
def ListResources(api, creds, options,call_id):
else:
# generate rspec in both pg and sfa formats
rspec = aggregate.get_rspec(version=rspec_version)
+
# cache the result
- if caching and api.cache:
+ if caching and api.cache
and not xrn
:
api.cache.add(version_string, rspec)
return rspec