Skip to content

Commit

Permalink
fix: load-balance's touch not effected
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx committed Mar 9, 2023
1 parent bae61a8 commit a454a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/outboundgroup/loadbalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func strategyStickySessions() strategyFn {
// Unwrap implements C.ProxyAdapter
func (lb *LoadBalance) Unwrap(metadata *C.Metadata, touch bool) C.Proxy {
proxies := lb.GetProxies(touch)
return lb.strategyFn(proxies, metadata, true)
return lb.strategyFn(proxies, metadata, touch)
}

// MarshalJSON implements C.ProxyAdapter
Expand Down

0 comments on commit a454a7f

Please sign in to comment.