Commit 3cf53cc6 authored by Shinya Maeda's avatar Shinya Maeda

Fix comments

parent cff5eadd
......@@ -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)
......
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