We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad7d535 commit 1aac480Copy full SHA for 1aac480
sonic_platform_base/module_base.py
@@ -87,7 +87,7 @@ def __init__(self):
87
self._thermal_list = []
88
self._voltage_sensor_list = []
89
self._current_sensor_list = []
90
- self.state_db = self.initialize_state_db()
+ self.state_db = None
91
self.pci_bus_info = None
92
93
# List of SfpBase-derived objects representing all sfps
@@ -97,6 +97,8 @@ def __init__(self):
97
# List of ASIC-derived objects representing all ASICs
98
# visibile in PCI domain on the module
99
self._asic_list = []
100
+
101
+ self.state_db = self.initialize_state_db()
102
103
def initialize_state_db(self):
104
"""
0 commit comments