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 !800
parents 1ea5ba94 029d75c1
No related branches found
No related tags found
1 merge request!800Resolve "Backup health check broken when using S3"
Pipeline #43213 passed with warnings
Pipeline: AlekSIS

#43230

    ...@@ -17,6 +17,7 @@ Fixed ...@@ -17,6 +17,7 @@ Fixed
    * [OAuth] Fix OAuth claims for follow-up requests (e.g. UserInfo) * [OAuth] Fix OAuth claims for follow-up requests (e.g. UserInfo)
    * [OAuth] Fix grant types checking failing on wrong types under some circumstances * [OAuth] Fix grant types checking failing on wrong types under some circumstances
    * [OAuth] Re-introduce missing algorithm field in application form * [OAuth] Re-introduce missing algorithm field in application form
    * Remove errornous backup folder check for S3
    `2.2`_ - 2021-11-29 `2.2`_ - 2021-11-29
    ------------------- -------------------
    ......
    ...@@ -34,9 +34,6 @@ class BaseBackupHealthCheck(BaseHealthCheckBackend): ...@@ -34,9 +34,6 @@ class BaseBackupHealthCheck(BaseHealthCheckBackend):
    def check_status(self): def check_status(self):
    storage = get_storage() storage = get_storage()
    backups = storage.list_backups(content_type=self.content_type) 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: if backups:
    last_backup = backups[:1] last_backup = backups[:1]
    last_backup_time = dbbackup_utils.filename_to_date(last_backup[0]) 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.
    Finish editing this message first!
    Please register or to comment