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";