(repo: &Repository, name: &str, arg: &str)
| 72 | } |
| 73 | |
| 74 | fn unknown_triage_view(repo: &Repository, name: &str, arg: &str) -> Status { |
| 75 | domain_status( |
| 76 | ErrorCode::InvalidArgument, |
| 77 | format!( |
| 78 | "No view named '{name}' — {arg} takes a real view name, not a placeholder.\n \ |
| 79 | Current view is '{}'; omit {arg} to triage that instead, or run \ |
| 80 | 'atomic view list' to see all views.", |
| 81 | repo.current_view() |
| 82 | ), |
| 83 | ) |
| 84 | } |
| 85 | |
| 86 | #[tonic::async_trait] |
| 87 | impl triage_service_server::TriageService for TriageImpl { |
no test coverage detected