Skip to content

Commit

Permalink
k8s: fix API call to _wait_for_response (ansible#53937)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
  • Loading branch information
Akasurde authored and ansibot committed Apr 20, 2019
1 parent 1e619c4 commit 94f295e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/module_utils/k8s/scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def scale(self, resource, existing_object, replicas, wait, wait_time):
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

Expand Down

0 comments on commit 94f295e

Please sign in to comment.