Skip to content

Commit 25bb2b1

Browse files
committed
nit(http/retry): capitalize trace event messages
Signed-off-by: katelyn martin <kate@buoyant.io>
1 parent 4566b8e commit 25bb2b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

linkerd/http/retry/src/replay.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,13 @@ where
290290
fn is_end_stream(&self) -> bool {
291291
// If the initial body was empty as soon as it was wrapped, then we are finished.
292292
if self.shared.was_empty {
293-
tracing::trace!("initial body was empty, stream has ended");
293+
tracing::trace!("Initial body was empty, stream has ended");
294294
return true;
295295
}
296296

297297
let Some(state) = self.state.as_ref() else {
298298
// This body is not currently the "active" replay being polled.
299-
tracing::trace!("inactive replay body is not complete");
299+
tracing::trace!("Inactive replay body is not complete");
300300
return false;
301301
};
302302

@@ -306,7 +306,7 @@ where
306306
// if we have replayed everything, the initial body may
307307
// still have data remaining, so ask it
308308
&& state.rest.is_end_stream();
309-
tracing::trace!(%eos, "checked replay body end-of-stream");
309+
tracing::trace!(%eos, "Checked replay body end-of-stream");
310310
eos
311311
}
312312

@@ -376,7 +376,7 @@ impl<B: Body> ReplayBody<B> {
376376
Err(Ok(trailers)) => Some(Either::Right(trailers)),
377377
Err(Err(_unknown)) => {
378378
// It's possible that some sort of unknown frame could be encountered.
379-
tracing::warn!("an unknown body frame has been buffered");
379+
tracing::warn!("An unknown body frame has been buffered");
380380
None
381381
}
382382
}

0 commit comments

Comments
 (0)