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

cmd/gitops-pusher: improve error on invalid subcommand #11843

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mhuxtable
Copy link

@mhuxtable mhuxtable commented Apr 23, 2024

Aid diagnosis of invalid subcommands passed to the gitops-pusher,
particularly in the context of CI where the cause of the error is
non-obvious; an invalid subcommand previously rendered the following
error:

terminal command () doesn't define an Exec function

Fixes #11842.

Aid diagnosis of invalid subcommands passed to the gitops-pusher,
particularly in the context of CI where the cause of the error is
non-obvious; an invalid subcommand previously rendered the following
error:

terminal command () doesn't define an Exec function

Fixes tailscale#11842.

Signed-off-by: Matthew Huxtable <git@tigermatt.uk>
@mhuxtable mhuxtable changed the title gitops-pusher: friendlier error on invalid subcommand cmd/gitops-pusher: improve error on invalid subcommand Apr 23, 2024
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 this pull request may close these issues.

gitops-pusher: invalid subcommand has unfriendly error
1 participant