aboutsummaryrefslogtreecommitdiffstats
path: root/zone_zfs
diff options
context:
space:
mode:
Diffstat (limited to 'zone_zfs')
-rw-r--r--zone_zfs/src/zfs.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/zone_zfs/src/zfs.rs b/zone_zfs/src/zfs.rs
index 8e982da..65f938d 100644
--- a/zone_zfs/src/zfs.rs
+++ b/zone_zfs/src/zfs.rs
@@ -22,10 +22,10 @@ impl ZFS {
#[cfg(feature = "chrono")]
pub fn clone_from_latest(&self, name: PathBuf, parent: PathBuf) -> Result<FileSystem> {
- self.get_file_system(parent)?
- .get_latest_snapshot()?
- .ok_or_else(|| Error::Snapshot("No snapshot found".into()))?
- .clone_new(name)
+ self.get_file_system(parent)?
+ .get_latest_snapshot()?
+ .ok_or_else(|| Error::Snapshot("No snapshot found".into()))?
+ .clone_new(name)
}
pub fn get_file_systems(&self) -> Result<Vec<FileSystem>> {