File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -398,12 +398,12 @@ def format_pods(pods: list[V1Pod]) -> list[str]:
398398 ]
399399 selected = inquirer .prompt (q , theme = GreenPassion ())
400400 if selected :
401- pod_name , pod_namespace = selected ["pod" ].split (": " )
401+ pod_name , namespace = selected ["pod" ].split (": " )
402402 else :
403403 return # cancelled by user
404404
405405 try :
406- pod = get_pod (pod_name , namespace = pod_namespace )
406+ pod = get_pod (pod_name , namespace = namespace )
407407 eligible_container_names = [BITCOINCORE_CONTAINER , COMMANDER_CONTAINER ]
408408 available_container_names = [container .name for container in pod .spec .containers ]
409409 container_name = next (
@@ -423,7 +423,7 @@ def format_pods(pods: list[V1Pod]) -> list[str]:
423423
424424 try :
425425 stream = pod_log (
426- pod_name , container_name = container_name , namespace = pod_namespace , follow = follow
426+ pod_name , container_name = container_name , namespace = namespace , follow = follow
427427 )
428428 for line in stream :
429429 click .echo (line .decode ("utf-8" ).rstrip ())
You can’t perform that action at this time.
0 commit comments