Skip to content
Snippets Groups Projects
Commit 3cf53cc6 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Fix comments

parent cff5eadd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -915,6 +915,7 @@ class Project < ActiveRecord::Base
end
 
# TODO: This will be extended for multiple enviroment clusters
# TODO: Add super nice tests to check this interchangeability
def deployment_platform
@deployment_platform ||= clusters.where(enabled: true).first&.platform_kubernetes
@deployment_platform ||= deployment_services.reorder(nil).find_by(active: true)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment