diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-21 22:53:36 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-28 20:47:59 +0900 |
commit | 3cf53cc611930f875995883e3051015ed9bcb49b (patch) | |
tree | 1291ae9a20cf36201e6f5b389ec4a181689b9441 | |
parent | cff5eadd7cca3537db4566126714a376c8e21e9e (diff) | |
download | gitlab-ce-3cf53cc611930f875995883e3051015ed9bcb49b.tar.gz |
Fix comments
-rw-r--r-- | app/models/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 1b201b13548..512fe77261a 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -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) |