Commit 648f6d43 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Simplify overriden login in entry jobs config class

parent 4c0ee7c3
......@@ -10,12 +10,10 @@ module EE
override :node_type
def node_type(name)
return ::Gitlab::Ci::Config::Entry::Hidden if hidden?(name)
if bridge?(name)
::EE::Gitlab::Ci::Config::Entry::Bridge
else
::Gitlab::Ci::Config::Entry::Job
super
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