This commit is contained in:
JMARyA 2025-01-05 01:47:33 +01:00
parent 7238164677
commit 02b7fbbcd7
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -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) {