chore: fix CI lints

main
Michal Stopyra 1 year ago
parent c37eaa8597
commit a19bda9939

@ -125,8 +125,8 @@ impl Mapping {
.map_err(|e| ChrootError::Mount(dst.to_owned(), e))?;
}
let fs_type =
FilesystemType::Manual(opt.fs_type.as_ref().map(String::as_str).unwrap_or(""));
let flags = opt.mount_flags.unwrap_or_else(|| MountFlags::empty());
FilesystemType::Manual(opt.fs_type.as_deref().unwrap_or(""));
let flags = opt.mount_flags.unwrap_or_else(MountFlags::empty);
let mount = MountBuilder::default()
.fstype(fs_type)

Loading…
Cancel
Save