Skip to content

Commit

Permalink
change description
Browse files Browse the repository at this point in the history
Signed-off-by: Deofex <28751252+Deofex@users.noreply.github.com>
  • Loading branch information
Deofex committed Jan 31, 2025
1 parent e0d1bae commit e5de5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/namespace_selector.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

func IsNamespaceSelectedBySelector(ns *corev1.Namespace, selector *metav1.LabelSelector) (bool, error) {
if selector == nil {
return true, nil // If the selector is nil, all namespaces match
return true, nil // If selector is nil, all namespaces match
}

labelSelector, err := metav1.LabelSelectorAsSelector(selector)
Expand Down

0 comments on commit e5de5b8

Please sign in to comment.