Skip to content

Commit

Permalink
nolint message
Browse files Browse the repository at this point in the history
  • Loading branch information
khushijain21 committed Jan 9, 2025
1 parent 9d4dfa0 commit 4c31090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/otelbeat/beatconverter/beatconverter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 4c31090

Please sign in to comment.