Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Jun 25, 2024
1 parent 4bf659e commit a55a8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kor/networkpolicies.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func isAnyIngressRuleUsed(clientset kubernetes.Interface, netpol networkingv1.Ne
}

if podsMatched {
return podsMatched, nil
return true, nil
}
}

Expand All @@ -103,7 +103,7 @@ func isAnyEgressRuleUsed(clientset kubernetes.Interface, netpol networkingv1.Net
}

if podsMatched {
return podsMatched, nil
return true, nil
}
}

Expand Down

0 comments on commit a55a8d8

Please sign in to comment.