Commit bc253849 authored by Rémy Coutable's avatar Rémy Coutable

Reduce difference with CE in ServiceParams

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent de62d2c4
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
module ServiceParams module ServiceParams
extend ActiveSupport::Concern extend ActiveSupport::Concern
ALLOWED_PARAMS_CE = [ ALLOWED_PARAMS_CE = [
:active, :active,
:add_pusher, :add_pusher,
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
module EE module EE
module ServiceParams module ServiceParams
extend ::Gitlab::Utils::Override
ALLOWED_PARAMS_EE = [ ALLOWED_PARAMS_EE = [
:jenkins_url, :jenkins_url,
:multiproject_enabled, :multiproject_enabled,
...@@ -11,6 +13,7 @@ module EE ...@@ -11,6 +13,7 @@ module EE
:static_context :static_context
].freeze ].freeze
override :allowed_service_params
def allowed_service_params def allowed_service_params
super + ALLOWED_PARAMS_EE super + ALLOWED_PARAMS_EE
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment