0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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