Fix namespace ambiguity with Kubernetes Pod definitions

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
This commit is contained in:
Stan Hu 2017-12-24 09:35:30 -08:00
parent 0c8d7e8460
commit b762430795
1 changed files with 1 additions and 1 deletions

View File

@ -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