We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c886e01 commit aad1992Copy full SHA for aad1992
src/hyperpod_cli/service/exec_command.py
@@ -34,15 +34,7 @@ def exec_command(
34
all_pods: Optional[bool],
35
bash_command: tuple,
36
):
37
- before_seperator = bash_command[: bash_command.index("-")]
38
-
39
- if before_seperator:
40
- raise RuntimeError(
41
- f"please provide bash command after -, unexpected char found {before_seperator}"
42
- )
43
44
- after_seperator = bash_command[bash_command.index("-") + 1 :]
45
- bash_command_str: str = " ".join(after_seperator)
+ bash_command_str: str = " ".join(bash_command)
46
47
k8s_client = KubernetesClient()
48
list_pods_service = ListPods()
0 commit comments