summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-02 14:47:55 -0600
committermo khan <mo@mokhan.ca>2025-07-02 14:47:55 -0600
commite9652c1ec4517aa8bd8517af37185c4dc14ddef2 (patch)
treee43864b8c1fcc1802f2b92370feef38eab383009 /src
parenta2bc6110ce69ea5f0dd5e6d0dab720e622c06deb (diff)
chore: fix linter error
Diffstat (limited to 'src')
-rw-r--r--src/authorization/server.rs4
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())));