Skip to content

Commit

Permalink
Update classical_strategy.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx authored Feb 13, 2025
1 parent cec0f3c commit 6d0f805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/provider/classical_strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func NewClassicalStrategy(parse func(tp, payload, target string, params []string
return &classicalStrategy{rules: []C.Rule{}, parse: func(tp, payload, target string, params []string) (parsed C.Rule, parseErr error) {
switch tp {
case "MATCH", "RULE-SET", "SUB-RULE":
return nil, fmt.Errorf("unsupported rule type on classical rule-set: (%s)", tp)
return nil, fmt.Errorf("unsupported rule type on classical rule-set: %s", tp)
default:
return parse(tp, payload, target, params, nil)
}
Expand Down

0 comments on commit 6d0f805

Please sign in to comment.