Fixing bug introduced in 35ef2f7832eb995b700a882262305a0dfedbc4c1 87/7487/2
authorEduardo Sousa <eduardo.sousa@canonical.com>
Wed, 22 May 2019 14:57:17 +0000 (15:57 +0100)
committerEduardo Sousa <eduardo.sousa@canonical.com>
Fri, 24 May 2019 11:20:37 +0000 (12:20 +0100)
Change-Id: Idab9fba7e9a788e87f82288a0641094407be6590
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
osm_nbi/engine.py

index 5137735..5763c38 100644 (file)
@@ -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)