Watch
0
0
Fork
You've already forked hyperhive
0

the builder reads an agent's icon from its config and the controller writes the swarm's copy

This commit is contained in:
iris 2026-11-16 22:21:21 +01:00 • committed by mara
commit 181ef5f421

View file

@ -212,6 +212,7 @@ pub async fn cache_built(
system,
private_users,
nix_builds,
icon,
..
},
) = (cache, &reply)
@ -240,6 +241,7 @@ pub async fn cache_built(
cached: true,
private_users: *private_users,
nix_builds: *nix_builds,
icon: icon.clone(),
}
}
Err(reason) => {
@ -268,6 +270,7 @@ mod tests {
cached: false,
private_users: None,
nix_builds: Some(NixBuilds::Disabled),
icon: Some(swarm_wire::builder::IconRead::Unset),
}
}
@ -306,6 +309,7 @@ mod tests {
FromMetaReply::Built {
private_users: None,
nix_builds: Some(NixBuilds::Disabled),
icon: Some(swarm_wire::builder::IconRead::Unset),
..
}
),