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 (#18109)

PR #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 <[email protected]>
  • Loading branch information
mlok-nokia authored Feb 21, 2024
1 parent df70bd3 commit 3a0a689
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 @@ -102,6 +102,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 3a0a689

Please sign in to comment.