Open DerekTBrown opened 6 months ago
When api_checks.main executes as expected, it returns a 6-tuple:
api_checks.main
https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/api_checks.py#L48
However, in the error conditions, it returns a 5-tuple:
https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/api_checks.py#L14-L24
The caller (save.main) expects a 6-tuple, causing this to crash:
save.main
https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/save.py#L48-L53
When
api_checks.main
executes as expected, it returns a 6-tuple:https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/api_checks.py#L48
However, in the error conditions, it returns a 5-tuple:
https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/api_checks.py#L14-L24
The caller (
save.main
) expects a 6-tuple, causing this to crash:https://github.com/ysde/grafana-backup-tool/blob/master/grafana_backup/save.py#L48-L53