X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fosm-nbi%2Flib%2Fcharms%2Fosm_nbi%2Fv0%2Fnbi.py;fp=installers%2Fcharm%2Fosm-nbi%2Flib%2Fcharms%2Fosm_nbi%2Fv0%2Fnbi.py;h=130b6faad9461782e6db483685d19e877f770f56;hb=06cacb28e8256c0d7c287516f7aaddb6e3fb6d21;hp=2def702a58c71b64ae43e8f54a8746460b16f34c;hpb=bb6415948df2dc6a016a2bef4686ebb93c9c68e1;p=osm%2Fdevops.git diff --git a/installers/charm/osm-nbi/lib/charms/osm_nbi/v0/nbi.py b/installers/charm/osm-nbi/lib/charms/osm_nbi/v0/nbi.py index 2def702a..130b6faa 100644 --- a/installers/charm/osm-nbi/lib/charms/osm_nbi/v0/nbi.py +++ b/installers/charm/osm-nbi/lib/charms/osm_nbi/v0/nbi.py @@ -119,13 +119,6 @@ class NbiRequires(Object): # pragma: no cover self.charm = charm self._endpoint_name = endpoint_name - # Observe relation events - event_observe_mapping = { - charm.on[self._endpoint_name].relation_changed: self._on_relation_changed, - } - for event, observer in event_observe_mapping.items(): - self.framework.observe(event, observer) - @property def host(self) -> str: """Get nbi hostname."""