Skip to content

Commit 8a54eba

Browse files
client: fix rustfmt and unused import in connect (#3528)
1 parent d7b26b4 commit 8a54eba

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

client/doublezero/src/command/connect.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use backon::{BlockingRetryable, ExponentialBuilder};
77
use clap::{Args, Subcommand, ValueEnum};
88
use doublezero_cli::{
99
doublezerocommand::CliCommand,
10-
helpers::{init_command, parse_pubkey},
10+
helpers::init_command,
1111
requirements::{check_accesspass, check_requirements, CHECK_BALANCE, CHECK_ID_JSON},
1212
};
1313
use doublezero_sdk::{
@@ -112,10 +112,7 @@ impl ProvisioningCliCommand {
112112
check_requirements(client, Some(&spinner), CHECK_ID_JSON | CHECK_BALANCE)?;
113113
check_doublezero(controller, client, Some(&spinner)).await?;
114114

115-
spinner.println(format!(
116-
"⚡ Connecting to {}...",
117-
client.get_environment()
118-
));
115+
spinner.println(format!("⚡ Connecting to {}...", client.get_environment()));
119116

120117
// Deprecation warning for --client-ip flag
121118
if self.client_ip.is_some() {

0 commit comments

Comments
 (0)