Fix comments
This commit is contained in:
parent
cff5eadd7c
commit
3cf53cc611
|
@ -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…
Reference in New Issue