Skip to content

Commit b959da9

Browse files
Refactored for graceful shutdown, fixing UT - Final round of tweaks
1 parent 98c2146 commit b959da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonic-chassisd/scripts/chassisd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ class ChassisdDaemon(daemon_base.DaemonBase):
14671467
continue
14681468
module_obj = self.platform_chassis.get_module(idx)
14691469
entry = module_obj.get_module_state_transition(v2, name) or {}
1470-
if entry.get("state_transition_in_progress") == "True":
1470+
if entry.get("state_transition_in_progress", "False") == "True":
14711471
module_obj.clear_module_state_transition(v2, name)
14721472
except Exception as e:
14731473
self.log_error(f"Failed to clear stale transition flags centrally: {e}")

0 commit comments

Comments
 (0)