summaryrefslogtreecommitdiff
path: root/src/authorization/check_service.rs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-05 12:36:21 -0600
committermo khan <mo@mokhan.ca>2025-07-05 12:36:21 -0600
commitc23770fe752b7cdd92de4af5dd5b65f57da80709 (patch)
tree2db7614abca8611edd5e7bfbded0bf3ffa85f730 /src/authorization/check_service.rs
parent7a23f5256b861705b69405c690eead5b30df7775 (diff)
chore: remove unhelpful logging
Diffstat (limited to 'src/authorization/check_service.rs')
-rw-r--r--src/authorization/check_service.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/authorization/check_service.rs b/src/authorization/check_service.rs
index 57f7b5d5..f8c7577f 100644
--- a/src/authorization/check_service.rs
+++ b/src/authorization/check_service.rs
@@ -23,10 +23,8 @@ impl envoy_types::ext_authz::v3::pb::Authorization for CheckService {
request: Request<CheckRequest>,
) -> Result<Response<CheckResponse>, Status> {
if self.authorizer.authorize(request.into_inner()) {
- log::info!("OK");
Ok(Response::new(CheckResponse::with_status(Status::ok("OK"))))
} else {
- log::info!("Unauthorized");
Ok(Response::new(CheckResponse::with_status(
Status::unauthenticated("Unauthorized"),
)))