diff --git a/integrations/cloud_filter/src/lib.rs b/integrations/cloud_filter/src/lib.rs index fd9699e3b4bf..11a34edcc412 100644 --- a/integrations/cloud_filter/src/lib.rs +++ b/integrations/cloud_filter/src/lib.rs @@ -216,7 +216,7 @@ impl Filter for CloudFilter { })? .filter_map(|e| async { let entry = e.ok()?; - let metadata = self.op.stat(&entry.path()).await.ok()?; + let metadata = self.op.stat(entry.path()).await.ok()?; let entry_remote_path = PathBuf::from(entry.path()); let relative_path = entry_remote_path .strip_prefix(&remote_path)