Skip to content

Commit

Permalink
[chassis] update service_checker module to handle database-chassis se…
Browse files Browse the repository at this point in the history
…rvice (#17836)

* Update service_checker.py

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
  • Loading branch information
abdosi authored and mssonicbld committed Feb 19, 2024
1 parent 317c1ad commit b9fbfcf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/system-health/health_checker/service_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re

from swsscommon import swsscommon
from sonic_py_common import multi_asic
from sonic_py_common import multi_asic, device_info
from sonic_py_common.logger import Logger
from .health_checker import HealthChecker
from . import utils
Expand Down Expand Up @@ -99,7 +99,9 @@ def get_expected_running_containers(self, feature_table):
else:
expected_running_containers.add(feature_name)
container_feature_dict[feature_name] = feature_name


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

def get_current_running_containers(self):
Expand Down

0 comments on commit b9fbfcf

Please sign in to comment.