Improve auth explain diagnostics
This commit is contained in:
parent
6f2fb53132
commit
ee80ff780c
7 changed files with 516 additions and 46 deletions
|
|
@ -2065,6 +2065,9 @@ fn print_response(response: ControlResponse, json: bool) -> Result<()> {
|
|||
println!("capability: {}", explain.capability);
|
||||
println!("reason: {}", explain.reason);
|
||||
println!("evaluated_ops: {}", explain.evaluated_ops);
|
||||
if !explain.diagnostics.is_empty() {
|
||||
println!("diagnostics: {}", explain.diagnostics.join(","));
|
||||
}
|
||||
}
|
||||
ControlResponse::AuthOpRecorded { op, signatures } => {
|
||||
println!("recorded auth op: {}", op.id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue