summaryrefslogtreecommitdiff
path: root/src/authorization/cedar_authorizer.rs
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-27 13:24:40 -0600
committermo khan <mo@mokhan.ca>2025-06-27 13:24:40 -0600
commit84420606035fd62bbdcacb6231b9181f197d068f (patch)
tree0dbbe29a92d090900f30c089181fa1f27f1318b5 /src/authorization/cedar_authorizer.rs
parente970d1e29aa9a4e1a4ac6419079928b803536825 (diff)
refactor: extract create_server function to test it directly
Diffstat (limited to 'src/authorization/cedar_authorizer.rs')
-rw-r--r--src/authorization/cedar_authorizer.rs2
1 files changed, 1 insertions, 1 deletions
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"))
}
}