From 02b7fbbcd759427165424d259fc870fead80be90 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 5 Jan 2025 01:47:33 +0100 Subject: [PATCH] fix --- src/backup.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/backup.rs b/src/backup.rs index aeb2554..b22a4a7 100644 --- a/src/backup.rs +++ b/src/backup.rs @@ -90,7 +90,10 @@ pub fn cephfs_snap_create(dir: &str) -> (String, String) { } } - (snap_dir.to_str().unwrap().to_string(), snap_name) + ( + format!("{}/", snap_dir.to_str().unwrap().to_string()), + snap_name, + ) } pub fn cephfs_snap_remove(dir: &str, snap: &str) {