Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
fix policy id
Browse files Browse the repository at this point in the history
  • Loading branch information
waynz0r committed Jan 22, 2024
1 parent 3ab1a8f commit dd91a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/policy/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func convertSelectorsToRawSelectors(selectors *structpb.Struct) Selectors {
}

func getPolicyID(policy *RawPolicy) string {
y, err := json.Marshal(policy.Connection)
y, err := json.Marshal(policy.Certificate)
if err != nil {
return ""
}
Expand Down

0 comments on commit dd91a49

Please sign in to comment.