Skip to content

Commit ae9bb4b

Browse files
committed
fix clippy
1 parent 288f665 commit ae9bb4b

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

src/common/tracing/src/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ use opentelemetry_otlp::WithExportConfig;
3232

3333
use crate::config::OTLPProtocol;
3434
use crate::filter::filter_by_thread_tracker;
35-
use crate::history_tables::table_to_target;
3635
use crate::loggers::get_layout;
3736
use crate::loggers::new_rolling_file_appender;
37+
use crate::predefined_tables::table_to_target;
3838
use crate::remote_log::RemoteLog;
3939
use crate::structlog::StructLogReporter;
4040
use crate::Config;

src/common/tracing/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mod panic_hook;
2626
mod remote_log;
2727
mod structlog;
2828

29-
mod history_tables;
29+
mod predefined_tables;
3030

3131
pub use crash_hook::pipe_file;
3232
pub use crash_hook::SignalListener;
@@ -45,14 +45,14 @@ pub use crate::config::StructLogConfig;
4545
pub use crate::config::TracingConfig;
4646
pub use crate::config::CONFIG_DEFAULT_LOG_LEVEL;
4747
pub use crate::crash_hook::set_crash_hook;
48-
pub use crate::history_tables::init_history_tables;
49-
pub use crate::history_tables::HistoryTable;
5048
pub use crate::init::init_logging;
5149
pub use crate::init::inject_span_to_tonic_request;
5250
pub use crate::init::start_trace_for_remote_request;
5351
pub use crate::init::GlobalLogger;
5452
pub use crate::panic_hook::log_panic;
5553
pub use crate::panic_hook::set_panic_hook;
54+
pub use crate::predefined_tables::init_history_tables;
55+
pub use crate::predefined_tables::HistoryTable;
5656
pub use crate::remote_log::convert_to_batch;
5757
pub use crate::remote_log::LogBuffer as RemoteLogBuffer;
5858
pub use crate::remote_log::LogMessage;

0 commit comments

Comments
 (0)