diff --git a/libbeat/otelbeat/beatconverter/beatconverter.go b/libbeat/otelbeat/beatconverter/beatconverter.go index 9da10ae69d4..3b921aa9fde 100644 --- a/libbeat/otelbeat/beatconverter/beatconverter.go +++ b/libbeat/otelbeat/beatconverter/beatconverter.go @@ -163,7 +163,7 @@ func httpPPROFEndpoint(accessString string, conf *confmap.Conf) error { // Get http.host if set if v := conf.Get(accessString + "::http::host"); v != nil { - httpHost = v.(string) //nolint:errheck //we know this will always be a string + httpHost = v.(string) //nolint:errcheck //we know this will always be a string } else { httpHost = "localhost" }