mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
02e77afcd1
commit
c6dce043a7
406 files changed
+1590
-1580
No files matched your search
@@ -74,7 +74,7 @@ export class NodeShellSession extends ShellSession {
|
||||
.createNamespacedPod("kube-system", {
|
||||
metadata: {
|
||||
name: this.podId,
|
||||
namespace: "kube-system"
|
||||
namespace: "kube-system",
|
||||
},
|
||||
spec: {
|
||||
nodeName: this.nodeName,
|
||||
@@ -84,7 +84,7 @@ export class NodeShellSession extends ShellSession {
|
||||
hostIPC: true,
|
||||
hostNetwork: true,
|
||||
tolerations: [{
|
||||
operator: "Exists"
|
||||
operator: "Exists",
|
||||
}],
|
||||
containers: [{
|
||||
name: "shell",
|
||||
@@ -93,10 +93,10 @@ export class NodeShellSession extends ShellSession {
|
||||
privileged: true,
|
||||
},
|
||||
command: ["nsenter"],
|
||||
args: ["-t", "1", "-m", "-u", "-i", "-n", "sleep", "14000"]
|
||||
args: ["-t", "1", "-m", "-u", "-i", "-n", "sleep", "14000"],
|
||||
}],
|
||||
imagePullSecrets,
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ export class NodeShellSession extends ShellSession {
|
||||
(err) => {
|
||||
console.log(err);
|
||||
reject(err);
|
||||
}
|
||||
},
|
||||
)
|
||||
.then(req => {
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -154,7 +154,7 @@ export abstract class ShellSession {
|
||||
env.LENS_SESSION = "true";
|
||||
env.WSLENV = [
|
||||
process.env.WSLENV,
|
||||
"KUBECONFIG/up:LENS_SESSION/u"
|
||||
"KUBECONFIG/up:LENS_SESSION/u",
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join(":");
|
||||
@@ -183,7 +183,7 @@ export abstract class ShellSession {
|
||||
env.NO_PROXY = [
|
||||
"localhost",
|
||||
"127.0.0.1",
|
||||
env.NO_PROXY
|
||||
env.NO_PROXY,
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join();
|
||||
|
||||
Reference in new issue
Block a user