Skip to content

Commit

Permalink
chore: fixes license.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchavezs committed Jul 11, 2023
1 parent c021dca commit cc7e9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/e2e/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func Run(cfg Config) error {
}

func setHTTPSchemeIfMissing(rawURL string) string {
if rawURL == "" || strings.HasPrefix(rawURL, "http") || rawURL[:3] == "://" {
if rawURL == "" || strings.HasPrefix(rawURL, "http") || strings.HasPrefix(rawURL, "://") {
return rawURL
}

Expand Down

0 comments on commit cc7e9c3

Please sign in to comment.