diff options
author | Stan Hu <stanhu@gmail.com> | 2017-12-24 09:35:30 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-12-24 13:43:46 -0800 |
commit | b762430795230aca5e949c24f7c06b172750ebb6 (patch) | |
tree | bbbf8e4d35f621d2c96681c1db9bdef730211234 | |
parent | 0c8d7e8460f74ba3a2345e42884ed96321fbb897 (diff) | |
download | gitlab-ce-b762430795230aca5e949c24f7c06b172750ebb6.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.rb | 2 |
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 |