We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e788b commit 2e2225eCopy full SHA for 2e2225e
options_test.go
@@ -70,7 +70,7 @@ EKTcWGekdmdDPsHloRNtsiCa697B2O9IFA==
70
err: errors.New("redis: TLSCertPEMFile and TLSKeyPEMFile URL parameters must be both set or both omitted"),
71
}, {
72
url: "rediss://localhost:123/?skip_verify=true",
73
- o: &Options{Addr: "localhost:123", TLSConfig: &tls.Config{InsecureSkipVerify: true}},
+ o: &Options{Addr: "localhost:123", TLSConfig: &tls.Config{ServerName: "localhost", InsecureSkipVerify: true}},
74
75
url: "redis://:bar@localhost:123",
76
o: &Options{Addr: "localhost:123", Password: "bar"},
0 commit comments