docs: fix typos
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>pull/24376/head
parent
dc8a708fb7
commit
f01382f578
|
@ -1,4 +1,4 @@
|
||||||
//! An metric instrumentation wrapper over [`ObjectStoreApi`] implementations.
|
//! A metric instrumentation wrapper over [`ObjectStoreApi`] implementations.
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
pin::Pin,
|
pin::Pin,
|
||||||
|
@ -185,7 +185,7 @@ where
|
||||||
|
|
||||||
match res {
|
match res {
|
||||||
Ok(GetResult::File(file, path)) => {
|
Ok(GetResult::File(file, path)) => {
|
||||||
// Record a the file size in bytes and time the inner call took.
|
// Record the file size in bytes and time the inner call took.
|
||||||
if let Ok(m) = file.metadata().await {
|
if let Ok(m) = file.metadata().await {
|
||||||
self.get_bytes.inc(m.len());
|
self.get_bytes.inc(m.len());
|
||||||
if let Some(d) = self.time_provider.now().checked_duration_since(started_at) {
|
if let Some(d) = self.time_provider.now().checked_duration_since(started_at) {
|
||||||
|
|
Loading…
Reference in New Issue