1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

spelling: heuristic

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2021-06-24 19:40:58 -04:00
parent b3465e5e6c
commit ccf495830d

View File

@ -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]