projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slight modification of internal API: startCompute returns EmulatorCompute object...
[osm/vim-emu.git]
/
emuvim
/
api
/
zerorpcapi.py
diff --git
a/emuvim/api/zerorpcapi.py
b/emuvim/api/zerorpcapi.py
index
c6b9c70
..
8a08131
100644
(file)
--- a/
emuvim/api/zerorpcapi.py
+++ b/
emuvim/api/zerorpcapi.py
@@
-60,7
+60,8
@@
class MultiDatacenterApi(object):
# TODO what to return UUID / given name / internal name ?
logging.debug("RPC CALL: compute start")
try:
# TODO what to return UUID / given name / internal name ?
logging.debug("RPC CALL: compute start")
try:
- return self.dcs.get(dc_name).startCompute(compute_name)
+ c = self.dcs.get(dc_name).startCompute(compute_name)
+ return str(c.name)
except Exception as ex:
logging.exception("RPC error.")
return ex.message
except Exception as ex:
logging.exception("RPC error.")
return ex.message