chore: fix function name in comment (#1586)

Signed-off-by: oftenoccur <ezc5@sina.com>
This commit is contained in:
oftenoccur 2024-04-13 01:51:51 +08:00 committed by GitHub
parent 8ca069f6de
commit 019edf38f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1200,7 +1200,7 @@ func checkUserConditionOptions(user *dataprovider.User, conditions *dataprovider
return true return true
} }
// checkConditionPatterns returns false if patterns are defined and no match is found // checkEventConditionPatterns returns false if patterns are defined and no match is found
func checkEventConditionPatterns(name string, patterns []dataprovider.ConditionPattern) bool { func checkEventConditionPatterns(name string, patterns []dataprovider.ConditionPattern) bool {
if len(patterns) == 0 { if len(patterns) == 0 {
return true return true