From cf5a848ef065ae9758810ec1f79d6bb28ebd816a Mon Sep 17 00:00:00 2001 From: devthejo Date: Mon, 10 Jul 2023 23:49:05 +0200 Subject: [PATCH] fix: typo --- pkg/sharing/secret_exports.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sharing/secret_exports.go b/pkg/sharing/secret_exports.go index 2a3cb91b1..b8d8058b8 100644 --- a/pkg/sharing/secret_exports.go +++ b/pkg/sharing/secret_exports.go @@ -159,7 +159,7 @@ func (nm NamespacesMatcher) MatchNamespace(matcher SecretMatcher, log logr.Logge return false } case sg2v1alpha1.SelectorOperatorDoesNotExist: - if value != "" { + if value == "" { return false } }