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
CreateSliver returns the allocated rspec
[sfa.git]
/
sfa
/
methods
/
CreateSliver.py
diff --git
a/sfa/methods/CreateSliver.py
b/sfa/methods/CreateSliver.py
index
bcca6b3
..
6752c8d
100644
(file)
--- a/
sfa/methods/CreateSliver.py
+++ b/
sfa/methods/CreateSliver.py
@@
-49,8
+49,6
@@
class CreateSliver(Method):
chain_name = 'FORWARD-OUTGOING'
rspec = run_sfatables(chain_name, hrn, origin_hrn, rspec)
allocated = manager.create_slice(self.api, slice_xrn, valid_creds, rspec, users)
- if allocated:
- return rspec
- return
''
+ return
rspec