-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odo catalog list components
fails if registry is not set up properly
#3297
Comments
/area registry |
I think there's a couple things that need to be done as part of this:
|
Do you mean
We already have that validation in existing code base |
Yes, I mean
We only validate that what's being given to
|
Yes, that behavior is expected and is by design. The design is that we divide the validation into two stages: That design is based on |
/assign |
/area devfile |
/kind bug
What versions of software are you using?
Operating System:
MacOS
Output of
odo version
:Latest master
How did you run odo exactly?
Actual behavior
odo catalog list components
fails if registry is not set up properly.Expected behavior
We should use warning instead of error, because we need to support the case where user has multiple registries but only part of the registries is not set up properly, for that case we shouldn't block user from listing registry that is set up properly and listing s2i components.
Any logs, error output, etc?
N/A
Special Notes:
This regression starts from this PR #3112 gets merged, we need to do the following things to fix the issue:
The text was updated successfully, but these errors were encountered: