Skip to content

Commit

Permalink
Merge pull request #246 from gechiang/202205
Browse files Browse the repository at this point in the history
[chassis] update service_checker module to handle database-chassis service (#17836)
  • Loading branch information
gechiang authored Feb 5, 2024
2 parents a18205a + 15e7830 commit ff1751f
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 @@ -95,7 +95,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 ff1751f

Please sign in to comment.