mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 14:24:27 +01:00
runtime-rs:fix cargo clippy
fix cargo clippy Fixes: #4791 Signed-off-by: Zhongtao Hu <zhongtaohu.tim@linux.alibaba.com>
This commit is contained in:
@@ -35,7 +35,7 @@ pub(crate) fn set_logger(path: &str, sid: &str, is_debug: bool) -> Result<slog_a
|
||||
} else {
|
||||
log::Level::Info
|
||||
};
|
||||
let _ = slog_stdlog::init_with_level(level).context(format!("init with level {}", level))?;
|
||||
slog_stdlog::init_with_level(level).context(format!("init with level {}", level))?;
|
||||
|
||||
Ok(async_guard)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user