projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add tox tests for osm charms in devops
[osm/devops.git]
/
installers
/
charm
/
ng-ui
/
src
/
charm.py
diff --git
a/installers/charm/ng-ui/src/charm.py
b/installers/charm/ng-ui/src/charm.py
index
21102e4
..
944d8ce
100755
(executable)
--- a/
installers/charm/ng-ui/src/charm.py
+++ b/
installers/charm/ng-ui/src/charm.py
@@
-93,7
+93,7
@@
class NgUiCharm(CharmBase):
Args:
event (EventBase): NBI relation event.
"""
- if
not event.uni
t in event.relation.data:
+ if
event.unit no
t in event.relation.data:
return
relation_data = event.relation.data[event.unit]
nbi_host = relation_data.get("host")