fix(storage): add skip(provider) to check_consistency instrument (#21818)

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Georgios Konstantopoulos
2026-02-04 09:31:26 -08:00
committed by GitHub
parent d4cb981209
commit 063d9ef3f8

View File

@@ -1314,7 +1314,7 @@ impl<N: NodePrimitives> StaticFileProvider<N> {
///
/// WARNING: No static file writer should be held before calling this function, otherwise it
/// will deadlock.
#[instrument(skip(self), fields(read_only = self.is_read_only()))]
#[instrument(skip(self, provider), fields(read_only = self.is_read_only()))]
pub fn check_consistency<Provider>(
&self,
provider: &Provider,