record whether an agent's config sets privateUsers in its closure record
This commit is contained in:
parent
7412a0f1bd
commit
3ca660e558
1 changed files with 178 additions and 6 deletions
|
|
@ -208,7 +208,10 @@ pub async fn cache_built(
|
|||
let (
|
||||
Some(cache),
|
||||
FromMetaReply::Built {
|
||||
out_path, system, ..
|
||||
out_path,
|
||||
system,
|
||||
private_users,
|
||||
..
|
||||
},
|
||||
) = (cache, &reply)
|
||||
else {
|
||||
|
|
@ -234,6 +237,7 @@ pub async fn cache_built(
|
|||
out_path: out_path.clone(),
|
||||
system: system.clone(),
|
||||
cached: true,
|
||||
private_users: *private_users,
|
||||
}
|
||||
}
|
||||
Err(reason) => {
|
||||
|
|
@ -258,6 +262,7 @@ mod tests {
|
|||
out_path: OUT.to_owned(),
|
||||
system: "x86_64-linux".to_owned(),
|
||||
cached: false,
|
||||
private_users: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue