From 94f295e4a1def85a64dfb0f9d2e97e5067a92ea0 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Sat, 20 Apr 2019 11:52:52 +0530 Subject: [PATCH] k8s: fix API call to _wait_for_response (#53937) Signed-off-by: Abhijeet Kasurde --- lib/ansible/module_utils/k8s/scale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/k8s/scale.py b/lib/ansible/module_utils/k8s/scale.py index 73d3170046b..af05484cdcb 100644 --- a/lib/ansible/module_utils/k8s/scale.py +++ b/lib/ansible/module_utils/k8s/scale.py @@ -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