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

Confusing message: "no organization should be set" #74

Closed
maelvls opened this issue Jan 12, 2023 · 0 comments · Fixed by #80
Closed

Confusing message: "no organization should be set" #74

maelvls opened this issue Jan 12, 2023 · 0 comments · Fixed by #80

Comments

@maelvls
Copy link
Member

maelvls commented Jan 12, 2023

I use jsctl 0.1.15. I got confused when running jsctl registry:

$ jsctl registry auth output --format=dockerconfig
no organization must be set

Not sure what that means; we guessed that it actually meant "an organization must be set". The message comes from there:

return nil, fmt.Errorf("no organization must be set")

Preferably, the message should be:

$ jsctl registry auth output --format=dockerconfig
No organization has been configured. To select an organization, run:

     jsctl config set organization jetstack

(here, the command proposes one of the available organizations)

Also, it would be nice if jsctl auth login would automatically select an organization if there is a single org available.

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

Successfully merging a pull request may close this issue.

1 participant