Skip to content

Commit 4813280

Browse files
committed
cargo fmt
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
1 parent de4da66 commit 4813280

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lading/src/blackhole/otlp.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ impl Otlp {
109109
})
110110
}
111111

112-
113112
/// Run [`Otlp`] to completion
114113
///
115114
/// This function runs the OTLP server(s) until a shutdown signal is
@@ -122,7 +121,12 @@ impl Otlp {
122121
let mut join_set = JoinSet::new();
123122

124123
if let Some(addr) = self.grpc_addr {
125-
let grpc_task = grpc::run_server(addr, self.response_delay, &self.labels, self.concurrency_limit);
124+
let grpc_task = grpc::run_server(
125+
addr,
126+
self.response_delay,
127+
&self.labels,
128+
self.concurrency_limit,
129+
);
126130
join_set.spawn(async move {
127131
grpc_task.await.unwrap_or_else(|e| {
128132
error!("gRPC task failed: {}", e);

0 commit comments

Comments
 (0)