projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31dd675
)
Fix bug 1167
00/9500/1
v8.0.0
v8.0.0rc3
author
David Garcia
<david.garcia@canonical.com>
Wed, 22 Jul 2020 11:17:56 +0000
(13:17 +0200)
committer
David Garcia
<david.garcia@canonical.com>
Wed, 22 Jul 2020 11:17:56 +0000
(13:17 +0200)
Change-Id: Id0ea5f19d57d2214219eec8f59f13a378d61c870
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/kubectl.py
patch
|
blob
|
history
diff --git
a/n2vc/kubectl.py
b/n2vc/kubectl.py
index
9d4ce57
..
61b2dc3
100644
(file)
--- a/
n2vc/kubectl.py
+++ b/
n2vc/kubectl.py
@@
-46,7
+46,9
@@
class Kubectl:
"target_port": p.target_port,
}
for p in i.spec.ports
- ],
+ ]
+ if i.spec.ports
+ else [],
"external_ip": [i.ip for i in i.status.load_balancer.ingress]
if i.status.load_balancer.ingress
else None,