feat: fix linter

This commit is contained in:
Stephanie Hingtgen 2021-10-21 14:59:25 -06:00
parent aee0cc6cae
commit 002143fcee
No known key found for this signature in database
GPG Key ID: C38C0397CA26D3E5
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ func setupTCPConn(u *url.URL) (*Options, error) {
// getHostPortWithDefaults is a helper function that splits the url into
// a host and a port. If the host is missing, it defaults to localhost
// and if the port is missing, it defaults to 6379
// and if the port is missing, it defaults to 6379.
func getHostPortWithDefaults(u *url.URL) (string, string) {
host, port, err := net.SplitHostPort(u.Host)
if err != nil {