Skip to content

Commit

Permalink
these should be eprintln
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Oct 8, 2024
1 parent 02b09c4 commit 1def145
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/clients/cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn launch(
),
Protocol::Resp => redis::launch_tasks(&mut client_rt, config.clone(), work_receiver),
protocol => {
error!("keyspace is not supported for the {:?} protocol", protocol);
eprintln!("keyspace is not supported for the {:?} protocol", protocol);
std::process::exit(1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/clients/pubsub/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ fn launch_subscribers(config: &Config, workload_components: &[Component]) -> Opt
kafka::launch_subscribers(&mut subscriber_rt, config.clone(), workload_components);
}
_ => {
error!("pubsub is not supported for the selected protocol");
eprintln!("pubsub is not supported for the selected protocol");
std::process::exit(1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/clients/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn launch(
Protocol::Momento => momento::launch_tasks(&mut client_rt, config.clone(), work_receiver),
Protocol::S3 => s3::launch_tasks(&mut client_rt, config.clone(), work_receiver),
protocol => {
error!(
eprintln!(
"store commands are not supported for the {:?} protocol",
protocol
);
Expand Down

0 comments on commit 1def145

Please sign in to comment.