Skip to content

Commit fdf5030

Browse files
committed
feedback ds
1 parent 787ed9a commit fdf5030

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sinks/honeycomb/sink.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ where
3434
}
3535

3636
async fn run_inner(self: Box<Self>, input: BoxStream<'_, Event>) -> Result<(), ()> {
37-
let service = ServiceBuilder::new().service(self.service);
3837
input
3938
// Batch the input stream with size calculation based on the estimated encoded json size
4039
.batched(
@@ -55,7 +54,7 @@ where
5554
})
5655
// Generate the driver that will send requests and handle retries,
5756
// event finalization, and logging/internal metric reporting.
58-
.into_driver(service)
57+
.into_driver(self.service)
5958
.run()
6059
.await
6160
}

0 commit comments

Comments
 (0)