diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/authorization/server.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/authorization/server.rs b/src/authorization/server.rs index 54227968..ded609da 100644 --- a/src/authorization/server.rs +++ b/src/authorization/server.rs @@ -10,7 +10,9 @@ pub struct Server { impl Server { pub fn new() -> Result<Server, Box<dyn std::error::Error>> { let (health_reporter, health_service) = tonic_health::server::health_reporter(); - let _ = health_reporter.set_service_status("", tonic_health::ServingStatus::Serving); + std::mem::drop( + health_reporter.set_service_status("", tonic_health::ServingStatus::Serving), + ); let authorization_service = AuthorizationServer::new(CheckService::new(Arc::new(CedarAuthorizer::default()))); |
