summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-26 15:30:41 -0600
committermo khan <mo@mokhan.ca>2025-06-26 15:30:41 -0600
commit187c02e9bf32f152cbca9fd5790f4a6070dbb37d (patch)
tree77a8cefe9c95d4f67522d02f0247194c3b39f173 /src/main.rs
parent91a989b761f97a70e76031988cf570ad5d209f47 (diff)
refactor: try to move policy files to /etc/authzd/
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d847a2ee..1a3ff00c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -14,7 +14,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let (_health_reporter, health_service) = tonic_health::server::health_reporter();
- let authorizer = Arc::new(authorization::CedarAuthorizer::new());
+ let authorizer = Arc::new(authorization::CedarAuthorizer::default());
let check_service = authorization::CheckService::new(authorizer);
let server = Server::builder()