Class: ProblemCheck::S3BackupConfig
- Inherits:
-
ProblemCheck
- Object
- ProblemCheck
- ProblemCheck::S3BackupConfig
- Defined in:
- app/services/problem_check/s3_backup_config.rb
Constant Summary
Constants inherited from ProblemCheck
CORE_PROBLEM_CHECKS, NO_TARGET
Instance Attribute Summary
Attributes inherited from ProblemCheck
Instance Method Summary collapse
Methods inherited from ProblemCheck
[], call, checks, enabled?, identifier, #initialize, inline?, realtime, realtime?, #run, run, scheduled, scheduled?
Constructor Details
This class inherits a constructor from ProblemCheck
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/services/problem_check/s3_backup_config.rb', line 6 def call return no_problem if GlobalSetting.use_s3? return no_problem if SiteSetting.backup_location != BackupLocationSiteSetting::S3 return no_problem if !missing_keys? && SiteSetting.s3_backup_bucket.present? problem end |