Fix spelling and grammar of an HTTP (#6786)

- To decide whether to use an or a:
https://www.merriam-webster.com/grammar/is-it-a-or-an

- Spelling of HTTP: https://en.wikipedia.org/wiki/HTTP

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
Jack Baldry
2024-06-04 15:40:36 +01:00
committed by GitHub
parent 12d6e9f662
commit bac8de036e
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/open-policy-agent/opa/logging"
)
// DoRequestWithClient is a convenience function to get the body of a http response with
// DoRequestWithClient is a convenience function to get the body of an HTTP response with
// appropriate error-handling boilerplate and logging.
func DoRequestWithClient(req *http.Request, client *http.Client, desc string, logger logging.Logger) ([]byte, error) {
resp, err := client.Do(req)