From: Eduardo Sousa Date: Wed, 22 May 2019 14:57:17 +0000 (+0100) Subject: Fixing bug introduced in 35ef2f7832eb995b700a882262305a0dfedbc4c1 X-Git-Tag: v6.0.0~38 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F7487%2F2;p=osm%2FNBI.git Fixing bug introduced in 35ef2f7832eb995b700a882262305a0dfedbc4c1 Change-Id: Idab9fba7e9a788e87f82288a0641094407be6590 Signed-off-by: Eduardo Sousa --- diff --git a/osm_nbi/engine.py b/osm_nbi/engine.py index 5137735..5763c38 100644 --- a/osm_nbi/engine.py +++ b/osm_nbi/engine.py @@ -149,7 +149,7 @@ class Engine(object): self.operations) else: self.map_topic[topic] = topic_class(self.db, self.fs, self.msg) - self.map_topic[topic] = topic_class(self.db, self.fs, self.msg) + self.map_topic["pm_jobs"] = PmJobsTopic(config["prometheus"].get("host"), config["prometheus"].get("port")) except (DbException, FsException, MsgException) as e: raise EngineException(str(e), http_code=e.http_code)