summaryrefslogtreecommitdiff
path: root/heatclient/common/event_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/common/event_utils.py')
-rw-r--r--heatclient/common/event_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/heatclient/common/event_utils.py b/heatclient/common/event_utils.py
index 18a0b98..6acbbd6 100644
--- a/heatclient/common/event_utils.py
+++ b/heatclient/common/event_utils.py
@@ -166,7 +166,7 @@ def _get_stack_events(hc, stack_id, event_args):
def poll_for_events(hc, stack_name, action=None, poll_period=5, marker=None,
- out=None):
+ out=None, nested_depth=0):
"""Continuously poll events and logs for performed action on stack."""
if action:
@@ -180,7 +180,7 @@ def poll_for_events(hc, stack_name, action=None, poll_period=5, marker=None,
if not out:
out = sys.stdout
while True:
- events = get_events(hc, stack_id=stack_name,
+ events = get_events(hc, stack_id=stack_name, nested_depth=nested_depth,
event_args={'sort_dir': 'asc',
'marker': marker})