in cli/straggler_check.py [0:0]
def get_check_pod(self) -> str | None:
"""Get the name of the canonical pod for the check."""
pod_names = [
pod.metadata.name
for pod in self._v1.list_pod_for_all_namespaces().items
if 'chs-hc-straggler-node0' in pod.metadata.name
]
pod = None
if pod_names:
pod = pod_names[0]
return pod