Unique rule-set names

This commit is contained in:
世界
2024-06-26 00:45:10 +08:00
parent 1e3c136440
commit c2ab497ff4
15 changed files with 57 additions and 57 deletions

View File

@@ -52,7 +52,7 @@ func NewLocalRuleSet(ctx context.Context, router adapter.Router, options option.
return nil, err
}
default:
return nil, E.New("unknown rule set format: ", options.Format)
return nil, E.New("unknown rule-set format: ", options.Format)
}
rules := make([]adapter.HeadlessRule, len(plainRuleSet.Rules))
var err error