Skip to content

Commit

Permalink
fix: fix retry not working (close #1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Apr 15, 2024
1 parent a10232f commit 7bf61f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/distributor.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func Distribute() func(c *gin.Context) {
return
}
} else {
requestModel := c.GetString("request_model")
requestModel = c.GetString("request_model")
var err error
channel, err = model.CacheGetRandomSatisfiedChannel(userGroup, requestModel, false)
if err != nil {
Expand Down

0 comments on commit 7bf61f9

Please sign in to comment.