From ccf495830dc43d5337a7456f39403b4b10f5586d Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 24 Jun 2021 19:40:58 -0400 Subject: [PATCH] spelling: heuristic Signed-off-by: Josh Soref --- src/renderer/api/kube-api-parse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/api/kube-api-parse.ts b/src/renderer/api/kube-api-parse.ts index b02067fb63..e5a5ab9d2b 100644 --- a/src/renderer/api/kube-api-parse.ts +++ b/src/renderer/api/kube-api-parse.ts @@ -91,7 +91,7 @@ export function parseKubeApi(path: string): IKubeApiParsed { * There is no well defined selection from an array of items that were * separated by '/' * - * Solution is to create a huristic. Namely: + * Solution is to create a heuristic. Namely: * 1. if '.' in left[0] then apiGroup <- left[0] * 2. if left[1] matches /^v[0-9]/ then apiGroup, apiVersion <- left[0], left[1] * 3. otherwise assume apiVersion <- left[0]