Live: adopt latest fixes from gin route tree (#41141)
This commit is contained in:
@@ -75,8 +75,7 @@ func (s *CacheSegmentedTree) Get(orgID int64, channel string) (*LiveChannelRule,
|
||||
if !ok {
|
||||
return nil, false, nil
|
||||
}
|
||||
ps := make(tree.Params, 0, 20)
|
||||
nodeValue := t.GetValue("/"+channel, &ps, true)
|
||||
nodeValue := t.GetValue("/"+channel, true)
|
||||
if nodeValue.Handler == nil {
|
||||
return nil, false, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user