From 1cf446ea984040e8e138fd4761d9942f1d8f149d Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Thu, 20 Aug 2020 10:21:54 +0300 Subject: [PATCH] Fix misspell (#662) Signed-off-by: Gerasimos (Makis) Maropoulos --- src/main/kubectl.ts | 2 +- src/renderer/api/endpoints/pods.api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kubectl.ts b/src/main/kubectl.ts index ee1c0efdc7..46e1c4ce24 100644 --- a/src/main/kubectl.ts +++ b/src/main/kubectl.ts @@ -273,7 +273,7 @@ export class Kubectl { zshScript += "test -f \"$OLD_ZDOTDIR/.zlogin\" && . \"$OLD_ZDOTDIR/.zlogin\"\n" zshScript += "test -f \"$OLD_ZDOTDIR/.zshrc\" && . \"$OLD_ZDOTDIR/.zshrc\"\n" - // voodoo to replace any previous occurences of kubectl path in the PATH + // voodoo to replace any previous occurrences of kubectl path in the PATH zshScript += `kubectlpath=\"${this.dirname}"\n` zshScript += `helmpath=\"${helmPath}"\n` zshScript += "p=\":$kubectlpath:\"\n" diff --git a/src/renderer/api/endpoints/pods.api.ts b/src/renderer/api/endpoints/pods.api.ts index 201f1e1751..c1394ab6db 100644 --- a/src/renderer/api/endpoints/pods.api.ts +++ b/src/renderer/api/endpoints/pods.api.ts @@ -291,7 +291,7 @@ export class Pod extends WorkloadKubeObject { return PodStatus.PENDING; } - // Returns pod phase or container error if occured + // Returns pod phase or container error if occurred getStatusMessage() { if (this.getReason() === PodStatus.EVICTED) return "Evicted"; if (this.getStatus() === PodStatus.RUNNING && this.metadata.deletionTimestamp) return "Terminating";