Skip to content

Commit

Permalink
chore(observability): Fix a couple typos with the registered event ca…
Browse files Browse the repository at this point in the history
…che (vectordotdev#17809)

Without these, the cache cannot be used for types outside of
`vector-common`.
  • Loading branch information
bruceg authored Jul 3, 2023
1 parent 0fbdb33 commit 205300b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vector-common/src/internal_event/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod bytes_received;
mod bytes_sent;
mod cached_event;
pub mod cached_event;
pub mod component_events_dropped;
mod events_received;
mod events_sent;
Expand Down Expand Up @@ -254,7 +254,7 @@ macro_rules! registered_event {

fn register(
$tags_name: $tags,
) -> <TaggedEventsSent as super::RegisterInternalEvent>::Handle {
) -> <Self as $crate::internal_event::RegisterInternalEvent>::Handle {
$register_body
}
})?
Expand Down

0 comments on commit 205300b

Please sign in to comment.