mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix spelling (#3181)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
1 parent
9903417fed
commit
e87b4836be
39 files changed
+54
-54
No files matched your search
@@ -114,7 +114,7 @@ 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]
|
||||
|
||||
Reference in new issue
Block a user