Skip to content

Commit

Permalink
fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
patilpankaj212 committed May 21, 2021
1 parent 18fea9c commit 03e018c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/utils/policy_type.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package utils

// CheckPolicyType checks if supplied policy type matches desired policy types
func CheckPolicyType(rulePolicyType string, desiredPolicyTypes []string) bool {
normDesiredPolicyTypes := make(map[string]bool, len(desiredPolicyTypes))
normRulePolicyType := EnsureUpperCaseTrimmed(rulePolicyType)
Expand Down

0 comments on commit 03e018c

Please sign in to comment.