mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
chore: fix function name in comment (#1586)
Signed-off-by: oftenoccur <ezc5@sina.com>
This commit is contained in:
parent
8ca069f6de
commit
019edf38f3
1 changed files with 1 additions and 1 deletions
|
@ -1200,7 +1200,7 @@ func checkUserConditionOptions(user *dataprovider.User, conditions *dataprovider
|
|||
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 {
|
||||
if len(patterns) == 0 {
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue