refactor config
This commit is contained in:
@@ -6,9 +6,10 @@ use tokio_util::sync::CancellationToken;
|
||||
use tracing::{debug, error, info, warn};
|
||||
|
||||
use crate::{
|
||||
ChimemonSource, ChimemonSourceChannel, HwmonConfig, MetricTags, SourceMetric, SourceReport,
|
||||
SourceReportDetails, SourceStatus,
|
||||
ChimemonSource, ChimemonSourceChannel, MetricTags, SourceMetric, SourceReport,
|
||||
SourceReportDetails, SourceStatus, config::HwmonConfig,
|
||||
};
|
||||
|
||||
pub struct HwmonSource {
|
||||
name: String,
|
||||
config: HwmonConfig,
|
||||
|
||||
Reference in New Issue
Block a user