Fixes missing parent constructor call in openstack based infra collectors 91/7491/1
authorBenjamin Diaz <bdiaz@whitestack.com>
Wed, 22 May 2019 19:28:28 +0000 (16:28 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Wed, 22 May 2019 19:29:46 +0000 (16:29 -0300)
Change-Id: Iaed814e59b81a664a4e2009ddf93d2edf2ad4502
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
osm_mon/collector/infra_collectors/openstack.py
osm_mon/collector/infra_collectors/vio.py

index 8801757..577bf06 100644 (file)
@@ -27,4 +27,4 @@ from osm_mon.core.config import Config
 
 class OpenstackInfraCollector(BaseOpenStackInfraCollector):
     def __init__(self, config: Config, vim_account_id: str):
-        pass
+        super(OpenstackInfraCollector, self).__init__(config, vim_account_id)
index 781b402..d8d8fcc 100644 (file)
@@ -28,4 +28,4 @@ from osm_mon.core.config import Config
 
 class VIOInfraCollector(BaseOpenStackInfraCollector):
     def __init__(self, config: Config, vim_account_id: str):
-        pass
+        super(VIOInfraCollector, self).__init__(config, vim_account_id)