[2.8] k8s: fix API call to _wait_for_response

(cherry picked from commit 94f295e4a1)

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 Toshio Kuratomi
parent 2e4c1dc3cb
commit 905b9b162d
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- Fix API call to _wait_for_response in k8s modules (https://github.com/ansible/ansible/pull/53937).

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