chore: fix spelling errors (#2352)

This commit is contained in:
Josh Soref
2022-06-20 02:56:13 -04:00
committed by GitHub
parent 6f1035269d
commit d6d0a60d16
22 changed files with 31 additions and 31 deletions

View File

@@ -1469,8 +1469,8 @@ func writeError(ctx context.Context, resp http.ResponseWriter, err error, hooks
callResponseSent(ctx, hooks)
}
// sanitizeBaseURL parses the the baseURL, and adds the "http" scheme if needed.
// If the URL is unparsable, the baseURL is returned unchaged.
// sanitizeBaseURL parses the baseURL, and adds the "http" scheme if needed.
// If the URL is unparsable, the baseURL is returned unchanged.
func sanitizeBaseURL(baseURL string) string {
u, err := url.Parse(baseURL)
if err != nil {