Skip to content

Commit

Permalink
newClient not netClient
Browse files Browse the repository at this point in the history
  • Loading branch information
sonisr committed Apr 17, 2024
1 parent 58cf58d commit 4d079e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/memcached_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func NewMemcachedClient(cfg MemcachedClientConfig, name string, r prometheus.Reg
if cfg.CBFailures > 0 {
newClient.Client.DialTimeout = newClient.dialViaCircuitBreaker
} else {
netClient.Client.DialTimeout = dialTimeout
newClient.Client.DialTimeout = dialTimeout
}

if len(cfg.Addresses) > 0 {
Expand Down

0 comments on commit 4d079e7

Please sign in to comment.