File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1414import utilities .infra
1515from utilities .constants import Annotations , KServeDeploymentType , MODELMESH_SERVING
1616from utilities .exceptions import UnexpectedResourceCountError , ResourceValueMismatch
17- from utilities .must_gather_collector import get_base_dir , get_must_gather_collector_dir
1817from ocp_resources .resource import Resource
1918from timeout_sampler import retry
2019from timeout_sampler import TimeoutExpiredError , TimeoutSampler
@@ -472,6 +471,8 @@ def wait_for_pods_running(
472471
473472
474473def collect_pod_information (pod : Pod ) -> None :
474+ # Import here to avoid circular import (must_gather_collector -> infra -> general)
475+ from utilities .must_gather_collector import get_base_dir , get_must_gather_collector_dir
475476 try :
476477 base_dir_name = get_must_gather_collector_dir () or get_base_dir ()
477478 LOGGER .info (f"Collecting pod information for { pod .name } : { base_dir_name } " )
You can’t perform that action at this time.
0 commit comments