Skip to content

Commit 205300b

Browse files
authored
chore(observability): Fix a couple typos with the registered event cache (vectordotdev#17809)
Without these, the cache cannot be used for types outside of `vector-common`.
1 parent 0fbdb33 commit 205300b

File tree

1 file changed

+2
-2
lines changed
  • lib/vector-common/src/internal_event

1 file changed

+2
-2
lines changed

lib/vector-common/src/internal_event/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mod bytes_received;
22
mod bytes_sent;
3-
mod cached_event;
3+
pub mod cached_event;
44
pub mod component_events_dropped;
55
mod events_received;
66
mod events_sent;
@@ -254,7 +254,7 @@ macro_rules! registered_event {
254254

255255
fn register(
256256
$tags_name: $tags,
257-
) -> <TaggedEventsSent as super::RegisterInternalEvent>::Handle {
257+
) -> <Self as $crate::internal_event::RegisterInternalEvent>::Handle {
258258
$register_body
259259
}
260260
})?

0 commit comments

Comments
 (0)