diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-27 18:01:59 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-27 18:01:59 -0600 |
| commit | f86aa3653c5b88586aa51e218865e62b030c045b (patch) | |
| tree | bac3ba029de712fed042fc164ca683935bb2a80e | |
| parent | 9d950395315cef169fcb5e99d7109ea34af5b542 (diff) | |
refactor: remove the reflection service
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | src/authorization/server.rs | 6 |
2 files changed, 0 insertions, 9 deletions
@@ -40,6 +40,3 @@ run-image: build-image # gRPC testing targets health-check: @grpcurl -plaintext localhost:50051 grpc.health.v1.Health/Check - -list-services: - @grpcurl -plaintext localhost:50051 list diff --git a/src/authorization/server.rs b/src/authorization/server.rs index 7c39b51c..2605bd54 100644 --- a/src/authorization/server.rs +++ b/src/authorization/server.rs @@ -16,12 +16,6 @@ impl Server { builder .add_service(AuthorizationServer::new(check_service)) .add_service(health_service) - .add_service( - tonic_reflection::server::Builder::configure() - .register_encoded_file_descriptor_set(tonic_health::pb::FILE_DESCRIPTOR_SET) - .build_v1() - .unwrap(), - ) })) } |
