Skip to content

Commit

Permalink
Use logreader rathern than vector-reader (#1002)
Browse files Browse the repository at this point in the history
This CLI is being renamed, so let's account for that
  • Loading branch information
nemacysts authored Oct 24, 2024
1 parent 16c7e1b commit c92aa85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tron/utils/scribereader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down

0 comments on commit c92aa85

Please sign in to comment.