k8s: fix API call to _wait_for_response (#53937)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-04-20 11:52:52 +05:30 committed by ansibot
parent 1e619c44cd
commit 94f295e4a1

View file

@ -136,7 +136,7 @@ class KubernetesAnsibleScaleModule(KubernetesRawModule):
return_obj = self._read_stream(resource, w, stream, name, replicas)
if not return_obj:
return_obj = self._wait_for_response(name, namespace)
return_obj = self._wait_for_response(resource, name, namespace)
return return_obj