refactor: use unwrap_or_default as suggested by clippy nightly
parent
15f768a971
commit
17db8a2950
|
|
@ -49,7 +49,7 @@ async fn main() {
|
|||
let cli = Cli::parse();
|
||||
init_logging(cli.otlp_endpoint);
|
||||
|
||||
let config = Config::load().unwrap_or(Config::default());
|
||||
let config = Config::load().unwrap_or_default();
|
||||
|
||||
match &cli.command {
|
||||
Commands::Serve(args) => serve::main(&config, args).await,
|
||||
|
|
|
|||
Loading…
Reference in New Issue