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

Improve error message when user doesn't specify project #2256

Closed
eleftherias opened this issue Feb 1, 2024 · 1 comment
Closed

Improve error message when user doesn't specify project #2256

eleftherias opened this issue Feb 1, 2024 · 1 comment
Labels
go Pull requests that update Go code priority: medium Medium Priority size/s

Comments

@eleftherias
Copy link
Contributor

When a user is a member of multiple projects, they must specify the project they want to act on when using CLI commands, because we cannot derive the default project.

Currently we get this error message:

$ minder repo list
WARNING: This build uses a test environment and may not be stable 
Message: Error listing repositories
Details: InvalidArgument indicates client specified an invalid argument.

We should explicitly tell the user that they need to supply a project argument:

$ minder repo list --project b60e0f72-878a-46b3-81e0-087e37ee9f7d
@eleftherias eleftherias added go Pull requests that update Go code priority: medium Medium Priority size/s labels Feb 1, 2024
@JAORMX
Copy link
Contributor

JAORMX commented Feb 2, 2024

This was addressed in #2259

@JAORMX JAORMX closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code priority: medium Medium Priority size/s
Projects
None yet
Development

No branches or pull requests

2 participants