From ce7fdd5978af65dc2bd831cade99019a05937044 Mon Sep 17 00:00:00 2001 From: ityuany <519495771@qq.com> Date: Mon, 22 Jul 2024 01:07:30 +0800 Subject: [PATCH] review --- crates/snm_shim/src/get_node_bin_dir.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/snm_shim/src/get_node_bin_dir.rs b/crates/snm_shim/src/get_node_bin_dir.rs index a9cf988d..7ba63303 100644 --- a/crates/snm_shim/src/get_node_bin_dir.rs +++ b/crates/snm_shim/src/get_node_bin_dir.rs @@ -3,11 +3,11 @@ use std::env::current_dir; use snm_atom::{atom::AtomTrait as _, node_atom::NodeAtom}; use snm_config::parse_snm_config; use snm_utils::snm_error::SnmError; -use tracing::instrument; +use tracing::{instrument, Level}; use crate::ensure_binary_path; -#[instrument(level = "trace", ret)] +#[instrument(level = Level::TRACE, ret)] pub async fn get_node_bin_dir() -> Result { let dir = current_dir()?;