Fix clippy warnings
This commit is contained in:
parent
bebcb4318f
commit
cf7c07dfa6
1 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ fn main() -> Result<(), anyhow::Error> {
|
|||
let opts = Opts::parse();
|
||||
match &opts.command {
|
||||
Command::Endpoints => list_endpoints(&opts)?,
|
||||
Command::Config(get_config_opts) => get_config(&opts, &get_config_opts)?,
|
||||
Command::Config(get_config_opts) => get_config(&opts, get_config_opts)?,
|
||||
Command::Check => check(&opts)?,
|
||||
}
|
||||
Ok(())
|
||||
|
|
@ -160,7 +160,7 @@ fn get_config(_opts: &Opts, config_opts: &ConfigOpts) -> Result<(), anyhow::Erro
|
|||
.into_json()?;
|
||||
debug!("config = {:?}", &config);
|
||||
|
||||
write_config(&mut std::io::stdout().lock(), &config_opts, &config, &keys)
|
||||
write_config(&mut std::io::stdout().lock(), config_opts, &config, &keys)
|
||||
}
|
||||
|
||||
fn write_config(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue