Skip to content

Commit

Permalink
Remove exit
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Jan 28, 2024
1 parent 9cdfd13 commit 5610d6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cli/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ func parseHosts(h string, resolveDNS bool) []string {
patterns, perr := ellipses.FindEllipsesPatterns(host)
if perr != nil {
fatalIf(probe.NewError(perr), fmt.Sprintf("Unable to parse host parameter: %s", host))
log.Fatal(perr.Error())
}
for _, lbls := range patterns.Expand() {
dst = append(dst, strings.Join(lbls, ""))
Expand All @@ -266,7 +265,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() {
Expand Down

0 comments on commit 5610d6f

Please sign in to comment.