Skip to content

Commit

Permalink
Whatever lint
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Jan 28, 2024
1 parent b7ba2b2 commit 5279034
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cli/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"crypto/x509"
"errors"
"fmt"
"log"
"math"
"math/rand"
"net"
Expand Down Expand Up @@ -265,7 +264,6 @@ func parseHosts(h string, resolveDNS bool) []string {
patterns, perr := ellipses.FindEllipsesPatterns(host)
if perr != nil {
fatalIf(probe.NewError(perr), "Unable to parse host parameter")
log.Fatal(perr.Error())
}
for _, lbls := range patterns.Expand() {
dst = append(dst, strings.Join(lbls, ""))
Expand All @@ -285,7 +283,6 @@ func parseHosts(h string, resolveDNS bool) []string {
ips, err := net.LookupIP(host)
if err != nil {
fatalIf(probe.NewError(err), "Could not get IPs for "+hostport)
log.Fatal(err.Error())
}
for _, ip := range ips {
if port == "" {
Expand Down

0 comments on commit 5279034

Please sign in to comment.