Fix comments

This commit is contained in:
Shinya Maeda 2017-11-21 22:53:36 +09:00
parent cff5eadd7c
commit 3cf53cc611
1 changed files with 1 additions and 0 deletions

View File

@ -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)