summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-12-24 09:35:30 -0800
committerStan Hu <stanhu@gmail.com>2017-12-24 13:43:46 -0800
commitb762430795230aca5e949c24f7c06b172750ebb6 (patch)
treebbbf8e4d35f621d2c96681c1db9bdef730211234
parent0c8d7e8460f74ba3a2345e42884ed96321fbb897 (diff)
downloadgitlab-ce-sh-fix-helm-api-spec.tar.gz
Fix namespace ambiguity with Kubernetes Pod definitionssh-fix-helm-api-spec
This was causing a spec failure between Gitlab::Kubernetes::Helm::Pod and Gitlab::Kubernetes::Helm::Api::Pod if one spec loaded the former definition first. Closes #41458
-rw-r--r--lib/gitlab/kubernetes/helm/api.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/kubernetes/helm/api.rb b/lib/gitlab/kubernetes/helm/api.rb
index ebd7dc1b100..737081ddc5b 100644
--- a/lib/gitlab/kubernetes/helm/api.rb
+++ b/lib/gitlab/kubernetes/helm/api.rb
@@ -34,7 +34,7 @@ module Gitlab
private
def pod_resource(command)
- Pod.new(command, @namespace.name, @kubeclient).generate
+ Gitlab::Kubernetes::Helm::Pod.new(command, @namespace.name, @kubeclient).generate
end
end
end