From e3357c4a92cb735698e96ebfb6ec711692ebf637 Mon Sep 17 00:00:00 2001 From: Renat Akhmerov Date: Fri, 16 Aug 2019 17:45:34 +0700 Subject: [PATCH] Add "retry_count" to execution report Change-Id: Ibbfb138c1a565a42b5a169c42e8c99b8e3f77a7c Closes-Bug: #1814850 Depends-On: I1c937ff05c4a1f3e28010427c03e3e4f113f6fba --- mistralclient/commands/v2/executions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mistralclient/commands/v2/executions.py b/mistralclient/commands/v2/executions.py index 74cc551c..49a6db82 100644 --- a/mistralclient/commands/v2/executions.py +++ b/mistralclient/commands/v2/executions.py @@ -389,6 +389,9 @@ class GetReport(command.Command): level ) + if 'retry_count' in t_ex: + self.print_line('(retry count: %s)' % t_ex['retry_count'], level) + if t_ex['state'] == 'ERROR': state_info = t_ex['state_info']