diff options
Diffstat (limited to 'tvix/store/src/blobservice')
-rw-r--r-- | tvix/store/src/blobservice/sled.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/blobservice/sled.rs b/tvix/store/src/blobservice/sled.rs index 3b130fcd9a05..3f212142b9d1 100644 --- a/tvix/store/src/blobservice/sled.rs +++ b/tvix/store/src/blobservice/sled.rs @@ -112,7 +112,7 @@ impl BlobWriter for SledBlobWriter { let digest = B3Digest::from_vec(hasher.finalize().as_bytes().to_vec()).unwrap(); // Only insert if the blob doesn't already exist. - if !self.db.contains_key(&digest.to_vec()).map_err(|e| { + if !self.db.contains_key(digest.to_vec()).map_err(|e| { Error::StorageError(format!("Unable to check if we have blob {}: {}", digest, e)) })? { // put buf in there. This will move buf out. |