[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:
parent
2e4c1dc3cb
commit
905b9b162d
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/k8s-fix_wait_for_response.yaml
Normal file
2
changelogs/fragments/k8s-fix_wait_for_response.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- Fix API call to _wait_for_response in k8s modules (https://github.com/ansible/ansible/pull/53937).
|
|
@ -136,7 +136,7 @@ class KubernetesAnsibleScaleModule(KubernetesRawModule):
|
||||||
return_obj = self._read_stream(resource, w, stream, name, replicas)
|
return_obj = self._read_stream(resource, w, stream, name, replicas)
|
||||||
|
|
||||||
if not return_obj:
|
if not return_obj:
|
||||||
return_obj = self._wait_for_response(name, namespace)
|
return_obj = self._wait_for_response(resource, name, namespace)
|
||||||
|
|
||||||
return return_obj
|
return return_obj
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue