diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-12-22 19:32:07 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-12-22 19:32:07 +0100 |
commit | 0f7764d9f05b3fccfa30ddebb52997200af13bf2 (patch) | |
tree | 14c938e5bc2edeb4814290ffb0135b600d0bacf1 /src/storage/in_memory.rs | |
parent | 1057661da77c3d94e5a1ff51ab7fc58ecdb6a53a (diff) | |
download | aerogramme-0f7764d9f05b3fccfa30ddebb52997200af13bf2.tar.gz aerogramme-0f7764d9f05b3fccfa30ddebb52997200af13bf2.zip |
s3 is now implemented
Diffstat (limited to 'src/storage/in_memory.rs')
-rw-r--r-- | src/storage/in_memory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/in_memory.rs b/src/storage/in_memory.rs index 723bca0..d764da1 100644 --- a/src/storage/in_memory.rs +++ b/src/storage/in_memory.rs @@ -278,7 +278,7 @@ impl IStore for MemStore { let store = self.blob.read().or(Err(StorageError::Internal))?; store.get(&blob_ref.0).ok_or(StorageError::NotFound).map(|v| v.to_blob_val(blob_ref)) } - async fn blob_insert(&self, blob_val: &BlobVal) -> Result<(), StorageError> { + async fn blob_insert(&self, blob_val: BlobVal) -> Result<(), StorageError> { tracing::trace!(entry=%blob_val.blob_ref, command="blob_insert"); let mut store = self.blob.write().or(Err(StorageError::Internal))?; let entry = store.entry(blob_val.blob_ref.0.clone()).or_default(); |