diff --git a/pkg/util/helpers.go b/pkg/util/helpers.go index 80df8ccb..37f053ad 100644 --- a/pkg/util/helpers.go +++ b/pkg/util/helpers.go @@ -159,7 +159,6 @@ func AddCertificateErrorHandler(fatal bool) { logCertificateError = logger.FatalfOnError } - //nolint:reassign // We need to reassign ErrorHandlers to register our handler utilruntime.ErrorHandlers = append(utilruntime.ErrorHandlers, func(_ context.Context, err error, _ string, _ ...interface{}) { var unknownAuthorityError x509.UnknownAuthorityError