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

Update alert-rules key to match convention set in cli.py #208

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

relaytheurgency
Copy link
Contributor

https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/cli.py#L27-L28

Current behavior requires passing in save_alert_rules (or save-alert-rules) which is counter the established pattern and counter the documentation of components in cli.py

https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/cli.py#L27-L28

Current behavior requires passing in save_alert_rules (or save-alert-rules) which is counter the established pattern and counter the documentation of components in cli.py
@relaytheurgency
Copy link
Contributor Author

I could add another key:value pair for 'save-alert-rules': save_alert_rules to preserve the current behavior. It's possible other people came across this and have modified their argument. If there's automation built around that bug this update would break it.

@acjohnson
Copy link
Collaborator

I could add another key:value pair for 'save-alert-rules': save_alert_rules to preserve the current behavior.

I 'd prefer to just make it consistent since this is a brand new feature; I should have been more critical on the naming but I missed it...

@acjohnson
Copy link
Collaborator

#201

@acjohnson acjohnson merged commit d6af94a into ysde:master Apr 20, 2023
4 checks passed
@acjohnson
Copy link
Collaborator

Thank you @relaytheurgency !

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.

None yet

2 participants