projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
state API fix
[osm/vim-emu.git]
/
src
/
emuvim
/
cli
/
compute.py
diff --git
a/src/emuvim/cli/compute.py
b/src/emuvim/cli/compute.py
index
dcb499d
..
0b3f38d
100755
(executable)
--- a/
src/emuvim/cli/compute.py
+++ b/
src/emuvim/cli/compute.py
@@
-57,9
+57,9
@@
class ZeroRpcClient(object):
eth0ip = None
eth0status = "down"
if len(status.get("network")) > 0:
eth0ip = None
eth0status = "down"
if len(status.get("network")) > 0:
- eth0ip = status.get("network")[0]
[1]
+ eth0ip = status.get("network")[0]
.get("ip")
eth0status = "up" if status.get(
eth0status = "up" if status.get(
- "network")[0]
[3]
else "down"
+ "network")[0]
.get("up")
else "down"
table.append([status.get("datacenter"),
name,
status.get("image"),
table.append([status.get("datacenter"),
name,
status.get("image"),