diff --git a/pkg/es/errors.go b/pkg/es/errors.go index 62d8e25..a810493 100644 --- a/pkg/es/errors.go +++ b/pkg/es/errors.go @@ -33,7 +33,7 @@ func esErrorString(err error) error { for _, cause := range e.ErrorCause.RootCause { // FIXME: re-activate linter here, see https://github.com/golangci/golangci-lint/issues/6662 - //nolint:all + //nolint:staticcheck causes.WriteString(fmt.Sprintf("%s\n", *cause.Reason)) }