Skip to content

Commit 7ebb537

Browse files
authored
remove duplicate declaration (#2773)
1 parent a5fe174 commit 7ebb537

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ring.go

-4
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ type RingOptions struct {
8484
WriteTimeout time.Duration
8585
ContextTimeoutEnabled bool
8686

87-
ContextTimeoutEnabled bool
88-
8987
// PoolFIFO uses FIFO mode for each node connection pool GET/PUT (default LIFO).
9088
PoolFIFO bool
9189

@@ -155,8 +153,6 @@ func (opt *RingOptions) clientOptions() *Options {
155153
WriteTimeout: opt.WriteTimeout,
156154
ContextTimeoutEnabled: opt.ContextTimeoutEnabled,
157155

158-
ContextTimeoutEnabled: opt.ContextTimeoutEnabled,
159-
160156
PoolFIFO: opt.PoolFIFO,
161157
PoolSize: opt.PoolSize,
162158
PoolTimeout: opt.PoolTimeout,

0 commit comments

Comments
 (0)