Skip to content

Commit

Permalink
fix: Fix wrong compare
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Mar 16, 2024
1 parent abf5ab6 commit c413fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ var nsExcludeCache = map[string]bool{}

func includeNamespace(ctx context.Context, clientset *kubernetes.Clientset, namespace string) bool {
// Single namespace mode is always included
if namespace == "" {
if namespace != "" {
return true
}

Expand Down

0 comments on commit c413fee

Please sign in to comment.