Live: adopt latest fixes from gin route tree (#41141)

This commit is contained in:
Alexander Emelin
2021-11-01 20:02:03 +03:00
committed by GitHub
parent c91bfcc1d6
commit 9c160413f6
3 changed files with 156 additions and 92 deletions
@@ -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
}