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

6 Commits

Author SHA1 Message Date
Sebastian Malton
6770f05dc8
special case */namespace/* in parseApi, add test (#509) 2020-06-23 15:48:20 +03:00
Sebastian Malton
d821b18346
fix parseApi to not throw and to match apiVersion more specifically (#496)
* remove the explicit throw is new parseApi

* fix parseApi to be more consitent with the older version

- Add many more unit tests (these are exact copies of the old behaviour
  so that any changes do not change behaviour)

- Make explicit, with documentation, why certain actions are being taken
  with the parsing of the api URL parts

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-22 11:55:03 -04:00
Sebastian Malton
bce7aec87d
Fix parseAPI not working with non-"namespaces" pathnames. (#450)
* fix parseApi not accepting versions that don't start with 'v'
* add unit tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 10:51:39 -04:00
Sebastian Malton
8f0c785f58
Revert "Fix parseApi not accepting versions that don't start with 'v' (#441)" (#448)
This reverts commit 00557c9940.
2020-06-12 07:34:07 +03:00
Sebastian Malton
00557c9940
Fix parseApi not accepting versions that don't start with 'v' (#441)
* fix parseApi not accepting versions that don't start with 'v'

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-11 13:19:01 -04:00
Jari Kolehmainen
1d0815abd2
Lens app source code (#119)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00