From 397eab5dbd425972bdddd015f0a005a04a4deb89 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 8 Aug 2020 21:03:47 +0300 Subject: [PATCH] fix misspell 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 a4c21095d6..76f3320cd1 100644 --- a/src/main/kubectl.ts +++ b/src/main/kubectl.ts @@ -263,7 +263,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";