Skip to content

Commit ad611fa

Browse files
committed
format
1 parent 9820dce commit ad611fa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dags/tpu_observability/jobset_ttr_pod_oom.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def trigger_oom_failure(info, pod_name: str):
4646
A connection error is expected and caught when the pod is killed.
4747
4848
Args:
49-
info: Node pool and cluster information.
50-
pod_name (str): The name of the target pod to be OOMKilled.
49+
info: Node pool and cluster information.
50+
pod_name (str): The name of the target pod to be OOMKilled.
5151
"""
5252
with tempfile.NamedTemporaryFile() as temp_config_file:
5353
env = os.environ.copy()
@@ -75,10 +75,10 @@ def pick_random_pod(active_pods: List[str]) -> str:
7575
JobSet controller handles partial failures within a replica.
7676
7777
Args:
78-
pod_names (List[str]): List of active pod names in the JobSet.
78+
pod_names (List[str]): List of active pod names in the JobSet.
7979
8080
Returns:
81-
str: The name of the randomly selected pod.
81+
str: The name of the randomly selected pod.
8282
"""
8383
if not active_pods:
8484
raise ValueError("No pods found to attack!")

0 commit comments

Comments
 (0)