From 8b6ebb4e2d40c7c00257fedba945072893c99927 Mon Sep 17 00:00:00 2001 From: Luis Perez Date: Mon, 21 Oct 2024 10:04:24 -0700 Subject: [PATCH] Use logreader rathern than vector-reader 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'"