Skip to content

Commit

Permalink
Update alert-rules key to match convention set in cli.py
Browse files Browse the repository at this point in the history
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
  • Loading branch information
relaytheurgency authored Apr 20, 2023
1 parent 9e8baa8 commit 202b03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafana_backup/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main(args, settings):
'library-elements': save_library_elements,
'teams': save_teams,
'team-members': save_team_members,
'save-alert-rules': save_alert_rules}
'alert-rules': save_alert_rules}

(status, json_resp, dashboard_uid_support, datasource_uid_support, paging_support) = api_checks(settings)

Expand Down

0 comments on commit 202b03f

Please sign in to comment.