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 aee0cc6 commit 002143fCopy full SHA for 002143f
options.go
@@ -267,7 +267,7 @@ func setupTCPConn(u *url.URL) (*Options, error) {
267
268
// getHostPortWithDefaults is a helper function that splits the url into
269
// a host and a port. If the host is missing, it defaults to localhost
270
-// and if the port is missing, it defaults to 6379
+// and if the port is missing, it defaults to 6379.
271
func getHostPortWithDefaults(u *url.URL) (string, string) {
272
host, port, err := net.SplitHostPort(u.Host)
273
if err != nil {
0 commit comments