From 225200decb92bdbbe5ef4839df7572511a88208a Mon Sep 17 00:00:00 2001 From: Eduardo Sousa Date: Wed, 22 May 2019 15:57:17 +0100 Subject: [PATCH] Fixing bug introduced in 35ef2f7832eb995b700a882262305a0dfedbc4c1 Change-Id: Idab9fba7e9a788e87f82288a0641094407be6590 Signed-off-by: Eduardo Sousa --- osm_nbi/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1