(
&self,
_request: Request<HealthRequest>,
)
| 126 | #[tonic::async_trait] |
| 127 | impl daemon_service_server::DaemonService for DaemonImpl { |
| 128 | async fn health( |
| 129 | &self, |
| 130 | _request: Request<HealthRequest>, |
| 131 | ) -> Result<Response<HealthResponse>, Status> { |
| 132 | Ok(Response::new(HealthResponse { |
| 133 | status: ServingStatus::Serving as i32, |
| 134 | pid: std::process::id(), |
| 135 | features: vec![ |
| 136 | "full-turn-slice".to_string(), |
| 137 | "repository-registry".to_string(), |
| 138 | ], |
| 139 | })) |
| 140 | } |
| 141 | |
| 142 | async fn get_capabilities( |
| 143 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected