fix: Use correct path for node-shell shell PTY

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and Gabriel Accettola committed 2023-05-23 10:19:49 +02:00
1 parent a20a1eade1
commit 99e6b77fc1
1 file changed
+1 -1
@@ -95,7 +95,7 @@ export class NodeShellSession extends ShellSession {
break;
}
await this.openShellProcess(this.dependencies.directoryContainingKubectl, args, env);
await this.openShellProcess(await this.kubectl.getPath(), args, env);
}
protected createNodeShellPod(coreApi: CoreV1Api) {