Skip to content

Commit

Permalink
Sync Cargo.lock with zenoh's (#24)
Browse files Browse the repository at this point in the history
Also, use env_logger::try_init instead of env_logger::init
  • Loading branch information
fuzzypixelz authored Nov 20, 2023
1 parent 3f995a6 commit 278c486
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 27 deletions.
67 changes: 41 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Plugin for WebServerPlugin {
type RunningPlugin = RunningPlugin;

fn start(name: &str, runtime: &Self::StartArgs) -> ZResult<RunningPlugin> {
env_logger::init();
let _ = env_logger::try_init();
let runtime_conf = runtime.config.lock();
let plugin_conf = runtime_conf
.plugin(name)
Expand Down

0 comments on commit 278c486

Please sign in to comment.