1
0
mirror of https://github.com/lensapp/lens.git synced 2024-12-01 10:37:09 +03:00

fix: Use correct path for node-shell shell PTY

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-05-19 10:55:50 -04:00 committed by Gabriel Accettola
parent a20a1eade1
commit 99e6b77fc1

View File

@ -95,7 +95,7 @@ export class NodeShellSession extends ShellSession {
break; break;
} }
await this.openShellProcess(this.dependencies.directoryContainingKubectl, args, env); await this.openShellProcess(await this.kubectl.getPath(), args, env);
} }
protected createNodeShellPod(coreApi: CoreV1Api) { protected createNodeShellPod(coreApi: CoreV1Api) {