diff options
author | maximilien <me@mricher.fr> | 2025-01-17 06:06:14 +0000 |
---|---|---|
committer | maximilien <me@mricher.fr> | 2025-01-17 06:06:14 +0000 |
commit | 294cb9940943d7febc1029ed44145daf57f914d0 (patch) | |
tree | be9b2912ae92b07ef5e7905372b1bc2a542234c6 /src/model/snapshot.rs | |
parent | 255b01b626096ef98cf24c9552b39c0372fb4eb3 (diff) | |
parent | 2eb9fcae20cb7e41b1197f4565db492a97f95736 (diff) | |
download | garage-294cb9940943d7febc1029ed44145daf57f914d0.tar.gz garage-294cb9940943d7febc1029ed44145daf57f914d0.zip |
Merge pull request 'Fix all typos' (#928) from majst01/garage:fix-typos into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/928
Reviewed-by: maximilien <me@mricher.fr>
Diffstat (limited to 'src/model/snapshot.rs')
-rw-r--r-- | src/model/snapshot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/snapshot.rs b/src/model/snapshot.rs index 36f9ec7d..87756f60 100644 --- a/src/model/snapshot.rs +++ b/src/model/snapshot.rs @@ -20,7 +20,7 @@ static SNAPSHOT_MUTEX: Mutex<()> = Mutex::new(()); // ================ snapshotting logic ===================== -/// Run snashot_metadata in a blocking thread and async await on it +/// Run snapshot_metadata in a blocking thread and async await on it pub async fn async_snapshot_metadata(garage: &Arc<Garage>) -> Result<(), Error> { let garage = garage.clone(); let worker = tokio::task::spawn_blocking(move || snapshot_metadata(&garage)); |