Skip to content

Commit 91ca098

Browse files
committed
hw-mgmt: thermal: Fix for config initialization
Initialize the newly added general-config variable. FR: #4521169 Signed-off-by: Ciju Rajan K <[email protected]>
1 parent a577317 commit 91ca098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr/usr/bin/hw_management_thermal_control_2_5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3717,7 +3717,7 @@ def load_configuration(self):
37173717
if CONST.SYS_CONF_REDUNDANCY_PARAM not in sys_config:
37183718
sys_config[CONST.SYS_CONF_REDUNDANCY_PARAM] = {}
37193719

3720-
if CONST.SYS_CONF_REDUNDANCY_PARAM not in sys_config:
3720+
if CONST.SYS_CONF_GENERAL_CONFIG_PARAM not in sys_config:
37213721
sys_config[CONST.SYS_CONF_GENERAL_CONFIG_PARAM] = {}
37223722

37233723
self.sys_config = sys_config

0 commit comments

Comments
 (0)