Skip to content

Commit 002143f

Browse files
feat: fix linter
1 parent aee0cc6 commit 002143f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func setupTCPConn(u *url.URL) (*Options, error) {
267267

268268
// getHostPortWithDefaults is a helper function that splits the url into
269269
// 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
270+
// and if the port is missing, it defaults to 6379.
271271
func getHostPortWithDefaults(u *url.URL) (string, string) {
272272
host, port, err := net.SplitHostPort(u.Host)
273273
if err != nil {

0 commit comments

Comments
 (0)