From 53d8a28582c4183ee052d4018334d58153367467 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 4 Dec 2023 13:01:27 +0100 Subject: Replaced ambiguous naming of "JSON string" to more accurate "JSON message". Signed-off-by: Toni Uhlig --- examples/py-semantic-validation/py-semantic-validation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/py-semantic-validation') 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 -- cgit v1.2.3