Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lili Cosic <cosiclili@gmail.com>
  • Loading branch information
2 people authored and pchan committed Oct 11, 2022
1 parent 0924bab commit a845f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/netutil/netutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func stringsToURLs(us []string) ([]url.URL, error) {
for _, str := range us {
u, err := url.Parse(str)
if err != nil {
return nil, fmt.Errorf("failed to parse %q", str)
return nil, fmt.Errorf("failed to parse string to URL: %q", str)
}
urls = append(urls, *u)
}
Expand Down

0 comments on commit a845f6f

Please sign in to comment.