Skip to content

Commit

Permalink
chore: lint, ci
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Oct 1, 2024
1 parent 195a56a commit f6ed499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/coreinternal/errorutil/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"go.opentelemetry.io/collector/consumer/consumererror"
)

func HttpError(w http.ResponseWriter, err error) {
func HTTPError(w http.ResponseWriter, err error) {
if err == nil {
return
}
Expand Down
2 changes: 1 addition & 1 deletion receiver/sapmreceiver/trace_receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (sr *sapmReceiver) HTTPHandlerFunc(rw http.ResponseWriter, req *http.Reques
// handle the request payload
err := sr.handleRequest(req)
if err != nil {
errorutil.HttpError(rw, err)
errorutil.HTTPError(rw, err)
return
}

Expand Down

0 comments on commit f6ed499

Please sign in to comment.