From c92aa858d608de1c98b9fd5b245d733067f7593e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20P=C3=A9rez?= Date: Thu, 24 Oct 2024 11:48:22 -0400 Subject: [PATCH] Use logreader rathern than vector-reader (#1002) This CLI is being renamed, so let's account for that --- tron/utils/scribereader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tron/utils/scribereader.py b/tron/utils/scribereader.py index c736ac3b8..381d8a534 100644 --- a/tron/utils/scribereader.py +++ b/tron/utils/scribereader.py @@ -251,7 +251,7 @@ def read_log_stream_for_action_run( except IndexError: location_selector = f"-s {paasta_cluster}" - command_name = "vector-reader" if use_s3_reader else "scribereader" + command_name = "logreader" if use_s3_reader else "scribereader" truncation_message = ( [ f"This output is truncated. Use this command to view all lines: {command_name} {location_selector} {stream_name} --min-date {min_date.date()} --max-date {max_date.date()} | jq --raw-output 'select(.tron_run_number=={int(paasta_logs.run_num)} and .component == \"{component}\") | .message'"