Skip to content

Commit

Permalink
fix bug in protobuf code introduced by #1452 (#1463)
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
  • Loading branch information
cdisselkoen authored Feb 11, 2025
1 parent 433771f commit bef0b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cedar-policy/src/proto/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ impl From<&ast::LiteralPolicySet> for models::LiteralPolicySet {
impl From<&ast::PolicySet> for models::LiteralPolicySet {
fn from(v: &ast::PolicySet) -> Self {
let templates: HashMap<String, models::TemplateBody> = v
.templates()
.all_templates()
.map(|t| (String::from(t.id().as_ref()), models::TemplateBody::from(t)))
.collect();
let links: HashMap<String, models::LiteralPolicy> = v
Expand Down

0 comments on commit bef0b31

Please sign in to comment.