mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix node shell failure to open
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
84cc0cdf55
commit
d698a0205f
@ -20,6 +20,10 @@ export class NodeShellSession extends ShellSession {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async open() {
|
public async open() {
|
||||||
|
// these are needed by the ShellSession getCachedShellEnv() method
|
||||||
|
this.kubeconfigPath = await this.cluster.getProxyKubeconfigPath();
|
||||||
|
this.kubectlBinDir = await this.kubectl.binDir();
|
||||||
|
|
||||||
this.kc = await this.cluster.getProxyKubeconfig();
|
this.kc = await this.cluster.getProxyKubeconfig();
|
||||||
const shell = await this.kubectl.getPath();
|
const shell = await this.kubectl.getPath();
|
||||||
let args = [];
|
let args = [];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user