You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
What happened:
If adding a registry with an invalid path or URI, the registry will still be added despite an error message.
$ ks registry add test ~/not/a/real/path
ERROR cache registry: open /home/sfoo/not/a/real/path/registry.yaml: no such file or directory
$ ks registry add another github.com/ksonnet/parts/tree/master/fake
ERROR cache registry: Could not find valid registry at uri 'ksonnet/ksonnet/fake/registry.yaml' and refspec 'master' (resolves to sha '40285d8a14f1ac5787e405e1023cf0c07f6aa28c')
$ ks registry list
NAME OVERRIDE PROTOCOL URI
==== ======== ======== ===
another github github.com/ksonnet/parts/tree/master/fake
incubator github github.com/ksonnet/parts/tree/master/incubator
test fs /home/sfoo/not/a/real/path
What you expected to happen:
The registry should not be added if errors.
How to reproduce it (as minimally and precisely as possible):
See above.
Anything else we need to know?:
Environment:
ksonnet version (use ks version):
ksonnet version: 0.11.0