From 84420606035fd62bbdcacb6231b9181f197d068f Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 27 Jun 2025 13:24:40 -0600 Subject: refactor: extract create_server function to test it directly --- src/authorization/cedar_authorizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/authorization') diff --git a/src/authorization/cedar_authorizer.rs b/src/authorization/cedar_authorizer.rs index c2c594fe..658de7a6 100644 --- a/src/authorization/cedar_authorizer.rs +++ b/src/authorization/cedar_authorizer.rs @@ -53,7 +53,7 @@ impl CedarAuthorizer { } impl Default for CedarAuthorizer { fn default() -> Self { - Self::new_from(fs::canonicalize("/etc/authzd").unwrap().as_path()) + Self::new_from(std::path::Path::new("/etc/authzd")) } } -- cgit v1.2.3