style: cargo fmt
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
d8748ee7ba
commit
ed062481c3
@@ -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::<u32>().unwrap_or(0),
|
||||
g.parse::<u32>().unwrap_or(0),
|
||||
)
|
||||
})
|
||||
.map(|(u, g)| (u.parse::<u32>().unwrap_or(0), g.parse::<u32>().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<String> =
|
||||
std::iter::once("indeedhub-minio".to_string()).collect();
|
||||
let only_self: HashSet<String> = std::iter::once("indeedhub-minio".to_string()).collect();
|
||||
assert!(!absent_stack_member_with_live_sibling(
|
||||
"indeedhub-minio",
|
||||
&only_self,
|
||||
|
||||
Reference in New Issue
Block a user