From daaaa615197d8551457ecf926f6df30c6482a70a Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 13 Mar 2022 03:08:44 +0100 Subject: Renamed basic event to error event for the sake of the logic. Signed-off-by: Toni Uhlig --- examples/py-flow-info/flow-info.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/py-flow-info/flow-info.py') diff --git a/examples/py-flow-info/flow-info.py b/examples/py-flow-info/flow-info.py index 244b17cfb..aaf92e4d9 100755 --- a/examples/py-flow-info/flow-info.py +++ b/examples/py-flow-info/flow-info.py @@ -276,10 +276,10 @@ def onJsonLineRecvd(json_dict, instance, current_flow, global_user_data): prettifyEvent(color, 15, 'DAEMON-EVENT'), daemon_msg)) stats.printStatus() return True - if 'basic_event_id' in json_dict: + if 'error_event_id' in json_dict: print('{}{}{} {}: {}'.format(timestamp, basic_daemon_event_prefix, instance_and_source, - prettifyEvent([TermColor.FAIL, TermColor.BLINK], 15, 'BASIC-EVENT'), - json_dict['basic_event_name'])) + prettifyEvent([TermColor.FAIL, TermColor.BLINK], 15, 'ERROR-EVENT'), + json_dict['error_event_name'])) stats.printStatus() return True elif 'flow_event_id' not in json_dict: -- cgit v1.2.3