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
path: root/lib
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-05-22 13:53:30 +0300
committerNick Thomas <nick@gitlab.com>2019-05-22 13:53:30 +0300
commit9f54fdcc89c71022906cf72074c749c72b2abd58 (patch)
tree3a18b8baecc9ac41769f1d36bd723c2ecf46597d /lib
parent3846f89d4f9164e16313c11a78bdf9fa3ee2294e (diff)
parent101c4480b32044682e453753c6bb18c2a296b044 (diff)
Merge branch '61935-remove-code-left-over-from-when-clusters-were-always-project-specific' into 'master'
remove `Clusters::Platforms::Kubernetes#actual_namespace` Closes #61935 See merge request gitlab-org/gitlab-ce!28391
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/prometheus/query_variables.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/prometheus/query_variables.rb b/lib/gitlab/prometheus/query_variables.rb
index dca09aef47d..9cc21129547 100644
--- a/lib/gitlab/prometheus/query_variables.rb
+++ b/lib/gitlab/prometheus/query_variables.rb
@@ -5,8 +5,7 @@ module Gitlab
module QueryVariables
def self.call(environment)
deployment_platform = environment.deployment_platform
- namespace = deployment_platform&.namespace_for(environment.project) ||
- deployment_platform&.actual_namespace || ''
+ namespace = deployment_platform&.kubernetes_namespace_for(environment.project) || ''
{
ci_environment_slug: environment.slug,