aboutsummaryrefslogtreecommitdiff
path: root/examples/py-flow-info/flow-info.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/py-flow-info/flow-info.py')
-rwxr-xr-xexamples/py-flow-info/flow-info.py6
1 files changed, 3 insertions, 3 deletions
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: