[chassis][supervisor] show system-health summary fails on the supervisor card (#10631)
Fix the command "sudo show system-health summary" shows the following error on the supervisor card. Fixes #10630
This commit is contained in:
parent
a2cd0f5d4c
commit
8c9a713de8
@ -127,7 +127,7 @@ class ServiceChecker(HealthChecker):
|
||||
self.bad_containers.add(container)
|
||||
logger.log_error('Invalid syntax in critical_processes file of {}'.format(container))
|
||||
continue
|
||||
|
||||
if match.group(1) is not None:
|
||||
identifier_key = match.group(2).strip()
|
||||
identifier_value = match.group(3).strip()
|
||||
if identifier_key == "program" and identifier_value:
|
||||
|
Loading…
Reference in New Issue
Block a user