Skip to content
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

omg get error without specifying resource #44

Open
kevchu3 opened this issue Apr 7, 2021 · 1 comment
Open

omg get error without specifying resource #44

kevchu3 opened this issue Apr 7, 2021 · 1 comment
Assignees

Comments

@kevchu3
Copy link
Contributor

kevchu3 commented Apr 7, 2021

Issue:

When a user executes omg get without specifying a resource, the error returned doesn't accurately describe that the user forgot to specify a resource. In earlier versions of omg, it simply returned no message at all, and in later versions, it returned no resources found in XXX namespace.

Expected results:

The oc get command returns the error You must specify the type of resource to get. Also, as we're planning to implement oc describe, this inconsistency in error message exists there as well. The oc describe command returns error: You must specify the type of resource to describe.

@kxr kxr self-assigned this Apr 22, 2021
@kxr
Copy link
Owner

kxr commented Apr 22, 2021

@kevchu3 thanks for pointing this out. Will fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants