diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-06 16:38:29 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-06 16:38:29 +0300 |
commit | 80e04c3c47ca600fa6dab31540dbe96bf423387b (patch) | |
tree | 03f7364799ef7f98b239ff9b0ac58bcd23b8d0db /app/models | |
parent | 788941616b8f65069db0e4a2c07bbebb4739b2ee (diff) | |
parent | 8fc9ff7f131aa850ce4b1a8cb86ab4fa9b46410d (diff) |
Merge branch 'fix/gb/fix-deployment-platform-for-environment' into 'master'
Fix environment deployment platform filter method
See merge request gitlab-org/gitlab-ce!18216
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/environment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/environment.rb b/app/models/environment.rb index 9517723d9d9..fddb269af4b 100644 --- a/app/models/environment.rb +++ b/app/models/environment.rb @@ -224,7 +224,7 @@ class Environment < ActiveRecord::Base end def deployment_platform - project.deployment_platform(environment: self) + project.deployment_platform(environment: self.name) end private |