Skip to content

Commit

Permalink
Update server/src/banner.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nick <[email protected]>
Signed-off-by: Nitish Tiwari <[email protected]>
  • Loading branch information
nitisht and theteachr authored Dec 25, 2023
1 parent a24e3ed commit af351d5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions server/src/banner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ fn print_ascii_art() {

fn status_info(config: &Config, scheme: &str, id: Uid) {
let address = format!(
"\"{}://{}\" ({}), \":{}\" (gRPC)",
scheme,
config.parseable.address,
scheme.to_ascii_uppercase(),
config.parseable.grpc_port
"\"{scheme}://{address}\" ({scheme_uppercase}), \":{grpc_port}\" (gRPC)",
address = config.parseable.address,
scheme_uppercase = scheme.to_ascii_uppercase(),
grpc_port = config.parseable.grpc_port,
);
let mut credentials =
String::from("\"As set in P_USERNAME and P_PASSWORD environment variables\"");
Expand Down

0 comments on commit af351d5

Please sign in to comment.