Skip to content

Commit

Permalink
Fix bug preventing wait_condition from being respected when using apply
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianvf committed Aug 28, 2019
1 parent 8924164 commit 7749ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/module_utils/k8s/raw.py
Expand Up @@ -300,7 +300,7 @@ def perform_action(self, resource, definition):
success = True
result['result'] = k8s_obj
if wait:
success, result['result'], result['duration'] = self.wait(resource, definition, wait_sleep, wait_timeout)
success, result['result'], result['duration'] = self.wait(resource, definition, wait_sleep, wait_timeout, condition=wait_condition)
if existing:
existing = existing.to_dict()
else:
Expand Down

0 comments on commit 7749ad0

Please sign in to comment.