(
&self,
request: Request<StopSandboxRequest>,
)
| 1462 | } |
| 1463 | |
| 1464 | async fn stop_sandbox( |
| 1465 | &self, |
| 1466 | request: Request<StopSandboxRequest>, |
| 1467 | ) -> Result<Response<StopSandboxResponse>, Status> { |
| 1468 | let request = request.into_inner(); |
| 1469 | require_sandbox_identifier(&request.sandbox_id, &request.sandbox_name)?; |
| 1470 | |
| 1471 | self.stop_sandbox_inner(&request.sandbox_id, &request.sandbox_name) |
| 1472 | .await?; |
| 1473 | Ok(Response::new(StopSandboxResponse {})) |
| 1474 | } |
| 1475 | |
| 1476 | async fn delete_sandbox( |
| 1477 | &self, |
nothing calls this directly
no test coverage detected