[service-checker] Fix the service-checker issue which is caused by PR17836 (#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 <marty.lok@nokia.com>
This commit is contained in:
Marty Y. Lok 2024-02-21 13:44:58 -05:00 committed by GitHub
parent df70bd304b
commit 3a0a6899eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,6 +102,7 @@ class ServiceChecker(HealthChecker):
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):