Skip to content

Commit 7bf61f9

Browse files
committed
fix: fix retry not working (close #1314)
1 parent a10232f commit 7bf61f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware/distributor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func Distribute() func(c *gin.Context) {
3939
return
4040
}
4141
} else {
42-
requestModel := c.GetString("request_model")
42+
requestModel = c.GetString("request_model")
4343
var err error
4444
channel, err = model.CacheGetRandomSatisfiedChannel(userGroup, requestModel, false)
4545
if err != nil {

0 commit comments

Comments
 (0)