Commit be85d1d2 authored by Daniel Aquino's avatar Daniel Aquino
Browse files

project: ci_service should only catch ci services

ci_service should return true if a ci service is enabled.  Currently
it's checking for any service being enabled instead of only services in
the ci category.
parent 40d30bf1fec9
......@@ -330,7 +330,7 @@ def ci_services
end
def ci_service
@ci_service ||= services.select(&:activated?).first
@ci_service ||= ci_services.select(&:activated?).first
end
# For compatibility with old code
......
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