Skip to content

Commit a33d088

Browse files
committed
remove debug
1 parent ef45da3 commit a33d088

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

internal/proto/reader.go

-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ func (r *Reader) ReadFixedMapLen(fixedLen int) error {
454454
// Other types will return an error.
455455
func (r *Reader) ReadMapLen() (int, error) {
456456
line, err := r.ReadLine()
457-
fmt.Println(string(line))
458457
if err != nil {
459458
return 0, err
460459
}

redis.go

-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ func (c *baseClient) initConn(ctx context.Context, cn *pool.Conn) error {
297297
var auth bool
298298
protocol := c.opt.Protocol
299299
// By default, use RESP3 in current version.
300-
301300
if protocol < 2 {
302301
protocol = 3
303302
}

search_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ var _ = Describe("RediSearch commands Resp 2", Label("search"), func() {
10141014
})
10151015

10161016
It("should FTConfigSet and FTConfigGet dialect", Label("search", "ftconfigget", "ftconfigset", "NonRedisEnterprise"), func() {
1017-
//SkipAfterRedisMajor(7, "FT.CONFIG is moved to Config for redis 8")
1017+
SkipAfterRedisMajor(7, "FT.CONFIG is moved to Config for redis 8")
10181018
res, err := client.FTConfigSet(ctx, "DEFAULT_DIALECT", "1").Result()
10191019
Expect(err).NotTo(HaveOccurred())
10201020
Expect(res).To(BeEquivalentTo("OK"))

0 commit comments

Comments
 (0)