aboutsummaryrefslogtreecommitdiff
path: root/examples/py-semantic-validation/py-semantic-validation.py
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-12-04 13:01:27 +0100
committerToni Uhlig <matzeton@googlemail.com>2023-12-04 13:01:27 +0100
commit53d8a28582c4183ee052d4018334d58153367467 (patch)
treec271004e66aea32258f9be942617ba3d88c09cf7 /examples/py-semantic-validation/py-semantic-validation.py
parent37f3770e3e1b6659d3658f28d394bd9ccd5dc8a5 (diff)
Replaced ambiguous naming of "JSON string" to more accurate "JSON message".
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples/py-semantic-validation/py-semantic-validation.py')
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/py-semantic-validation/py-semantic-validation.py b/examples/py-semantic-validation/py-semantic-validation.py
index e27e379db..6da56ee26 100755
--- a/examples/py-semantic-validation/py-semantic-validation.py
+++ b/examples/py-semantic-validation/py-semantic-validation.py
@@ -193,7 +193,7 @@ def onJsonLineRecvd(json_dict, instance, current_flow, global_user_data):
if (flow_last_seen is not None and 'flow_idle_time' not in json_dict) or \
(flow_last_seen is None and 'flow_idle_time' in json_dict):
raise SemanticValidationException(current_flow,
- 'Got a JSON string with only 2 of 3 keys, ' \
+ 'Got a JSON message with only 2 of 3 keys, ' \
'required for timeout handling: flow_idle_time')
if 'thread_ts_usec' in json_dict:
@@ -213,7 +213,7 @@ def onJsonLineRecvd(json_dict, instance, current_flow, global_user_data):
try:
if current_flow.flow_ended == True:
raise SemanticValidationException(current_flow,
- 'Received JSON string for a flow that already ended/idled.')
+ 'Received JSON message for a flow that already ended/idled.')
except AttributeError:
pass