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:
6261df4
)
Fix bug where instances show up in generic RSpec
author
Andy Bavier
<acb@cs.princeton.edu>
Fri, 26 Feb 2010 19:17:58 +0000
(19:17 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Fri, 26 Feb 2010 19:17:58 +0000
(19:17 +0000)
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
a38a6e8
..
e1d9303
100644
(file)
--- a/
sfa/managers/aggregate_manager_eucalyptus.py
+++ b/
sfa/managers/aggregate_manager_eucalyptus.py
@@
-396,6
+396,11
@@
def get_rspec(api, xrn, origin_hrn):
rspec = EucaRSpecBuilder(cloud).toXML()
+ # Remove the instances records so next time they won't
+ # show up.
+ if 'instances' in cloud:
+ del cloud['instances']
+
return rspec
"""