-
Notifications
You must be signed in to change notification settings - Fork 250
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
Error Message if Namespace Does Not Exist With -n Flag #311
Comments
/kind bug |
I believe this is fixed in 2efd4e7 @danielhelfand feel free to reopen if there was more to it /assign @danielhelfand |
/reopen
|
@danielhelfand: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Sounds good! thanks |
To be fair this is the same behaviour kubectl exposes - it just applies a filter and returns what matches. For instance in my cluster, if I filter by a non-existing namespace, I get cluster-wide resources:
|
@afrittoli It's definitely consistent with |
Can we close this since #316 has been merged ? This is the last PR to get in before |
#316 dealt with the error message for a pipeline name not existing in a particular namespace. There hasn't been a fix for this yet. |
ah thanks, i'll leave this open and hopefully this will get it for release 0.5.x |
@chmouel Yeah, apologies. I fell behind on other things this week and lost track of this one. Think 0.5 shouldn't be a problem. |
Expected Behavior
If a namespace is provided that does not exist for any command that uses
-n
, the cli should notify the user the namespace does not exist. Simply listing that no items were found is misleading and may make the user think there are no items in the namespace.Actual Behavior
Steps to Reproduce the Problem
-n
(e.g.tkn tr ls
) and enter a namespace that does not existThe text was updated successfully, but these errors were encountered: