From 99e6b77fc1c5a74cfef90981b8b0162b46ecfb43 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 19 May 2023 10:55:50 -0400 Subject: [PATCH] fix: Use correct path for node-shell shell PTY Signed-off-by: Sebastian Malton --- .../main/shell-session/node-shell-session/node-shell-session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/main/shell-session/node-shell-session/node-shell-session.ts b/packages/core/src/main/shell-session/node-shell-session/node-shell-session.ts index bb3653e786..7551e135b2 100644 --- a/packages/core/src/main/shell-session/node-shell-session/node-shell-session.ts +++ b/packages/core/src/main/shell-session/node-shell-session/node-shell-session.ts @@ -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) {