Skip to content

Commit

Permalink
fix consul lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyenought committed Jun 18, 2024
1 parent f0b66b8 commit 20235d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion consul/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func parseAddr(addr net.Addr) (host string, port int, err error) {
}

host, _, err = net.SplitHostPort(detectHost)

if err != nil {
return "", 0, fmt.Errorf("empty host")
}
Expand Down

0 comments on commit 20235d5

Please sign in to comment.