Commit f9b048e2 authored by LUKE BENNETT's avatar LUKE BENNETT

Resolve project.rb conflicts

parent a06a9295
......@@ -915,14 +915,11 @@ class Project < ActiveRecord::Base
@ci_service ||= ci_services.reorder(nil).find_by(active: true)
end
<<<<<<< HEAD
def deployment_platform(environment: nil)
@deployment_platform ||= clusters.find_by(enabled: true)&.platform_kubernetes
@deployment_platform ||= services.where(category: :deployment).reorder(nil).find_by(active: true)
end
=======
>>>>>>> upstream/master
def monitoring_services
services.where(category: :monitoring)
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