1
0
Fork 0
forked from gitea/nas

Add warning for object storage misconfiguration (#24137)

This commit is contained in:
Claire 2023-03-16 22:47:01 +01:00
parent 6db76875fd
commit 6a7b91a038
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