-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Excessive output when multiple images returned for new-app on big repository. #7729
Comments
this would imply a dockerhub flake since the image wasn't found on dockerhub when we asked. either that or the imagestream pull through logic which new-app uses to try to find the image on dockerhub. |
This is a bug in new-app - if we have a tag specified on image name we are being specific and should not be searching for partial matches on repository name. |
hm. I don't think i agree. Obviously if there's an exact match, it's moot, we'll use the exact match, but if there's not, why wouldn't we be trying to help the user find matches in case of a typo? @csrwng i think this has bearing on the behavior we just settled on for imagestreams. |
Ok, maybe I'm most concerned with the number of suggestions shown then, rather than them being there at all. By the time I get to the end of the list it looks like a bug. At some point, we should probably be showing a max N (or reasonable max N) and then telling the user to use -S to see the full list. The levenshtein distance I would expect to be a component of match score. As a user, I'm pretty sure I didn't accidentally fat finger not typing -keepalived-ipfailover. Has to be some reasonable bound. So we can change the bug into that. |
This is effectively fixed by #8558, so changing the title. |
Happened in #7128 (job 12095).
The text was updated successfully, but these errors were encountered: