X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fengine.py;h=0cd0666ab2b6efe0df91d4652710161e709b4c1d;hp=0211bd64146911b054ad24ead93d9ec1621f3185;hb=refs%2Fchanges%2F68%2F7968%2F9;hpb=549dda6d610178e26da22b9f16a09f0f98a68585 diff --git a/osm_nbi/engine.py b/osm_nbi/engine.py index 0211bd6..0cd0666 100644 --- a/osm_nbi/engine.py +++ b/osm_nbi/engine.py @@ -159,7 +159,8 @@ class Engine(object): else: self.map_topic[topic] = topic_class(self.db, self.fs, self.msg, self.auth) - self.map_topic["pm_jobs"] = PmJobsTopic(config["prometheus"].get("host"), config["prometheus"].get("port")) + self.map_topic["pm_jobs"] = PmJobsTopic(self.db, config["prometheus"].get("host"), + config["prometheus"].get("port")) except (DbException, FsException, MsgException) as e: raise EngineException(str(e), http_code=e.http_code)