From 4c31090c83612e053a88d83187b41cdcc70b278d Mon Sep 17 00:00:00 2001 From: Khushi Jain Date: Thu, 9 Jan 2025 16:21:56 +0530 Subject: [PATCH] nolint message --- libbeat/otelbeat/beatconverter/beatconverter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }