diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-03-07 13:14:25 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-03-07 13:14:25 +0300 |
commit | 0917e817838fb5ecb3993a18baafa2eadff9cf40 (patch) | |
tree | e04e66e5ea54486694914332f63b2d8f0281c411 /app/models/concerns/deployment_platform.rb | |
parent | cfe203fa3a77adbb33f877c98af5e117b1ccd281 (diff) |
Unify deployment_platform interface with EE
Diffstat (limited to 'app/models/concerns/deployment_platform.rb')
-rw-r--r-- | app/models/concerns/deployment_platform.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/concerns/deployment_platform.rb b/app/models/concerns/deployment_platform.rb index 89d0474a596..faa94204e33 100644 --- a/app/models/concerns/deployment_platform.rb +++ b/app/models/concerns/deployment_platform.rb @@ -1,5 +1,6 @@ module DeploymentPlatform - def deployment_platform + # EE would override this and utilize the extra argument + def deployment_platform(environment: nil) @deployment_platform ||= find_cluster_platform_kubernetes || find_kubernetes_service_integration || |