Skip to content

Commit 0a72e96

Browse files
committed
avoid apidocs failure
1 parent 4a7f71b commit 0a72e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/warnet/project.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def is_docker_desktop_kube_running() -> tuple[bool, str]:
159159
text=True,
160160
)
161161
if cluster_info.returncode == 0:
162-
return True, f"\n\t{cluster_info.stdout.strip().replace('\n', '\n\t')}"
162+
indented_output = cluster_info.stdout.strip().replace('\n', '\n\t')
163+
return True, f"\n\t{indented_output}"
163164
else:
164165
return False, ""
165166
except Exception:

0 commit comments

Comments
 (0)