fix: incorrectly throw error when 5.2<=kernel<5.5

This commit is contained in:
mzz2017
2023-02-01 01:34:50 +08:00
parent 9cdee19b57
commit db50c80a96
4 changed files with 65 additions and 13 deletions

View File

@ -50,7 +50,7 @@ func (b *RoutingMatcherBuilder) OutboundToId(outbound string) uint8 {
var ok bool
outboundId, ok = b.outboundName2Id[outbound]
if !ok {
b.err = fmt.Errorf("%v not in outboundName2Id", strconv.Quote(outbound))
b.err = fmt.Errorf("%v not defined in group", strconv.Quote(outbound))
}
}
return outboundId