1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

refactor: remove unused context attribute from conn (#2150)

This commit is contained in:
Knut Zuidema
2022-07-13 07:49:28 +02:00
committed by GitHub
parent 9c34c5345f
commit 092a692384
3 changed files with 6 additions and 8 deletions

View File

@ -296,7 +296,7 @@ var _ = Describe("Client", func() {
})
It("should Conn", func() {
err := client.Conn(ctx).Get(ctx, "this-key-does-not-exist").Err()
err := client.Conn().Get(ctx, "this-key-does-not-exist").Err()
Expect(err).To(Equal(redis.Nil))
})