Skip to content

Commit

Permalink
[service-checker] Fix the service-checker issue which is caused by PR…
Browse files Browse the repository at this point in the history
…17836 (sonic-net#18109)

PR sonic-net#17836 added the container checking for database-chassis for Supervisor. But the related container_feature_dict[] is missing for the database-chassis. This causes the exception failure shows on Supervisor

Signed-off-by: mlok <marty.lok@nokia.com>
  • Loading branch information
mlok-nokia authored and gechiang committed Apr 3, 2024
1 parent 4ec6a82 commit 0b86380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/system-health/health_checker/service_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def get_expected_running_containers(self, feature_table):

if device_info.is_supervisor():
expected_running_containers.add("database-chassis")
container_feature_dict["database-chassis"] = "database"
return expected_running_containers, container_feature_dict

def get_current_running_containers(self):
Expand Down

0 comments on commit 0b86380

Please sign in to comment.