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

fix(agent): Catch non-existing commands and error out. #12549

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

srebhan
Copy link
Contributor

@srebhan srebhan commented Jan 25, 2023

This PR catches commands that do not exist, likely due to a misspelling, like

> telegraf secret list

with secret instead of secrets. We error out on this now.

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Jan 25, 2023
@telegraf-tiger
Copy link
Contributor

Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good catch!

@powersj powersj merged commit f512289 into influxdata:master Jan 25, 2023
srebhan added a commit that referenced this pull request Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants