Skip to content

Commit 3c57939

Browse files
committed
propagate unstableresp3
1 parent 9e05a7c commit 3c57939

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

osscluster.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ func (opt *ClusterOptions) clientOptions() *Options {
311311
// much use for ClusterSlots config). This means we cannot execute the
312312
// READONLY command against that node -- setting readOnly to false in such
313313
// situations in the options below will prevent that from happening.
314-
readOnly: opt.ReadOnly && opt.ClusterSlots == nil,
314+
readOnly: opt.ReadOnly && opt.ClusterSlots == nil,
315+
UnstableResp3: opt.UnstableResp3,
315316
}
316317
}
317318

universal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var _ = Describe("UniversalClient", func() {
4646
UnstableResp3: true,
4747
})
4848
Expect(client.Ping(ctx).Err()).NotTo(HaveOccurred())
49-
_, err := client.FTInfo(ctx, "test").Result()
49+
_, err := client.FTInfo(ctx, "all").Result()
5050
Expect(err).ToNot(HaveOccurred())
5151
})
5252
})

0 commit comments

Comments
 (0)