diff --git a/core/archipelago/src/container/prod_orchestrator.rs b/core/archipelago/src/container/prod_orchestrator.rs index 4e101e7c..cb836168 100644 --- a/core/archipelago/src/container/prod_orchestrator.rs +++ b/core/archipelago/src/container/prod_orchestrator.rs @@ -274,12 +274,7 @@ fn build_fingerprint_stamp_path(data_dir: &Path, tag: &str) -> PathBuf { async fn chown_for_rootless_container(uid_gid: &str, path: &str) -> Result<()> { let (uid, gid) = uid_gid .split_once(':') - .map(|(u, g)| { - ( - u.parse::().unwrap_or(0), - g.parse::().unwrap_or(0), - ) - }) + .map(|(u, g)| (u.parse::().unwrap_or(0), g.parse::().unwrap_or(0))) .unwrap_or((0, 0)); if uid > 0 && uid < 100_000 { @@ -4564,8 +4559,7 @@ mod tests { &names )); // An app's OWN container being present proves nothing about siblings. - let only_self: HashSet = - std::iter::once("indeedhub-minio".to_string()).collect(); + let only_self: HashSet = std::iter::once("indeedhub-minio".to_string()).collect(); assert!(!absent_stack_member_with_live_sibling( "indeedhub-minio", &only_self,