Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-06 13:10:30 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-04-06 13:10:30 +0300
commit8fc9ff7f131aa850ce4b1a8cb86ab4fa9b46410d (patch)
tree95c22b6ac9ac55566eb12b5aee39ae6b020f8445 /app/models/environment.rb
parent2faf991f31aceb1c34a3855695d25fab19203e36 (diff)
Fix environment deployment platform filter method
Diffstat (limited to 'app/models/environment.rb')
-rw-r--r--app/models/environment.rb2
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