Skip to content

Commit 517d3e3

Browse files
author
tot19
committed
fix: Restore EventsReceived export to common.rs
1 parent 2bc0fcf commit 517d3e3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/internal_events/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::time::Instant;
22

33
use metrics::{counter, histogram};
4-
5-
use vector_lib::internal_event::{
4+
pub use vector_lib::internal_event::EventsReceived;
5+
use vector_lib::internal_event:{
66
ComponentEventsDropped, InternalEvent, UNINTENTIONAL, error_stage, error_type,
77
};
88

src/internal_events/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ mod websocket_server;
143143
mod window;
144144
#[cfg(all(windows, feature = "sources-windows_event_log"))]
145145
mod windows_event_log;
146-
147146
#[cfg(any(
148147
feature = "sources-file",
149148
feature = "sources-kubernetes_logs",
@@ -299,5 +298,3 @@ pub use self::{
299298
adaptive_concurrency::*, batch::*, common::*, conditions::*, encoding_transcode::*,
300299
heartbeat::*, http::*, open::*, process::*, socket::*, tcp::*, template::*, udp::*,
301300
};
302-
303-
pub use vector_lib::internal_event::EventsReceived;

0 commit comments

Comments
 (0)