mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-13 09:18:55 +07:00
fix: incorrectly throw error when 5.2<=kernel<5.5
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user