Skip to content

Commit 8568a16

Browse files
committed
Fix format
1 parent e822b88 commit 8568a16

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/internal_events/aws_kinesis.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// Used in both `aws_kinesis_streams` and `aws_kinesis_firehose` sinks
2-
32
use metrics::counter;
43
use vector_lib::internal_event::InternalEvent;
54
use vector_lib::internal_event::{error_stage, error_type, ComponentEventsDropped, UNINTENTIONAL};

src/internal_events/kafka.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use metrics::{counter, gauge};
22
use vector_lib::{internal_event::InternalEvent, update_counter};
3-
use vrl::path::OwnedTargetPath;
43
use vector_lib::{
54
internal_event::{error_stage, error_type},
65
json_size::JsonSize,
76
};
7+
use vrl::path::OwnedTargetPath;
88

99
#[derive(Debug)]
1010
pub struct KafkaBytesReceived<'a> {

src/internal_events/prometheus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use std::borrow::Cow;
44
use hyper::StatusCode;
55
use metrics::counter;
66
use vector_lib::internal_event::InternalEvent;
7+
use vector_lib::internal_event::{error_stage, error_type, ComponentEventsDropped, UNINTENTIONAL};
78
#[cfg(feature = "sources-prometheus-scrape")]
89
use vector_lib::prometheus::parser::ParserError;
9-
use vector_lib::internal_event::{error_stage, error_type, ComponentEventsDropped, UNINTENTIONAL};
1010

1111
#[cfg(feature = "sources-prometheus-scrape")]
1212
#[derive(Debug)]

src/internal_events/sematext_metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use metrics::counter;
2-
use vector_lib::{internal_event::InternalEvent};
2+
use vector_lib::internal_event::InternalEvent;
33
use vector_lib::internal_event::{error_stage, error_type, ComponentEventsDropped, UNINTENTIONAL};
44

55
use crate::event::metric::Metric;

src/internal_events/template.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use metrics::counter;
2-
use vector_lib::internal_event::{ComponentEventsDropped, InternalEvent, UNINTENTIONAL};
32
use vector_lib::internal_event::{error_stage, error_type};
3+
use vector_lib::internal_event::{ComponentEventsDropped, InternalEvent, UNINTENTIONAL};
44

55
pub struct TemplateRenderingError<'a> {
66
pub field: Option<&'a str>,

0 commit comments

Comments
 (0)