Add warning for object storage misconfiguration (#24137)

This commit is contained in:
Claire
2023-03-16 22:47:01 +01:00
committed by GitHub
parent 75e5a6e437
commit 8fdf49b11d
5 changed files with 119 additions and 6 deletions

View File

@@ -1,11 +1,12 @@
# frozen_string_literal: true
class Admin::SystemCheck::Message
attr_reader :key, :value, :action
attr_reader :key, :value, :action, :critical
def initialize(key, value = nil, action = nil)
@key = key
@value = value
@action = action
def initialize(key, value = nil, action = nil, critical = false)
@key = key
@value = value
@action = action
@critical = critical
end
end