diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-02 14:47:55 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-02 14:47:55 -0600 |
| commit | e9652c1ec4517aa8bd8517af37185c4dc14ddef2 (patch) | |
| tree | e43864b8c1fcc1802f2b92370feef38eab383009 | |
| parent | a2bc6110ce69ea5f0dd5e6d0dab720e622c06deb (diff) | |
chore: fix linter error
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | src/authorization/server.rs | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -28,7 +28,7 @@ fmt: @cargo fmt lint: - @cargo clippy -- -D warnings + @cargo clippy doc: @cargo doc --open 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()))); |
