From 135792eea08bf489621570eeb23d213f903187d2 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 7 Jul 2026 10:28:57 +0200 Subject: [PATCH] only exclude failing check --- pkg/es/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) }