Skip to content

Commit 02478fd

Browse files
committed
fmt
1 parent 15fc3c8 commit 02478fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

opentelemetry-sdk/src/metrics/periodic_reader.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ impl PeriodicReaderInner {
424424
Err(MetricError::Other("Failed to shutdown".into()))
425425
}
426426
}
427-
Err(mpsc::RecvTimeoutError::Timeout) => {
428-
Err(MetricError::Other("Failed to shutdown due to Timeout".into()))
429-
}
427+
Err(mpsc::RecvTimeoutError::Timeout) => Err(MetricError::Other(
428+
"Failed to shutdown due to Timeout".into(),
429+
)),
430430
Err(mpsc::RecvTimeoutError::Disconnected) => {
431431
Err(MetricError::Other("Failed to shutdown".into()))
432432
}

0 commit comments

Comments
 (0)