Skip to content

Commit 6e26596

Browse files
authored
fix(ci): features check (#23663)
* fix(ci): features check * fix for scripts/check-one-feature api
1 parent ecb1b41 commit 6e26596

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/api/schema/metrics/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ pub enum MetricType {
4242
Uptime(Uptime),
4343
}
4444

45+
#[cfg(feature = "sources-host_metrics")]
4546
#[derive(Default)]
4647
pub struct MetricsQuery;
4748

src/internal_events/aws_sqs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(dead_code)] // TODO requires optional feature compilation
2+
13
use metrics::counter;
24
#[cfg(feature = "sources-aws_s3")]
35
pub use s3::*;

src/internal_events/websocket.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(dead_code)] // TODO requires optional feature compilation
2+
13
use std::error::Error;
24
use std::fmt::{Debug, Display, Formatter, Result};
35

0 commit comments

Comments
 (0)