Skip to content
Snippets Groups Projects
Commit d65522ed authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '557-backup-health-check-broken-when-using-s3' into 'master'

Resolve "Backup health check broken when using S3"

Closes #557

See merge request AlekSIS/official/AlekSIS-Core!800
parents 1ea5ba94 029d75c1
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ Fixed
* [OAuth] Fix OAuth claims for follow-up requests (e.g. UserInfo)
* [OAuth] Fix grant types checking failing on wrong types under some circumstances
* [OAuth] Re-introduce missing algorithm field in application form
* Remove errornous backup folder check for S3
`2.2`_ - 2021-11-29
-------------------
......
......@@ -34,9 +34,6 @@ class BaseBackupHealthCheck(BaseHealthCheckBackend):
def check_status(self):
storage = get_storage()
backups = storage.list_backups(content_type=self.content_type)
if not storage.storage.exists(""):
self.add_error(_("The backup folder doesn't exist."))
return
if backups:
last_backup = backups[:1]
last_backup_time = dbbackup_utils.filename_to_date(last_backup[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment