Skip to content

Commit

Permalink
Update controllers/clusterwidenetworkpolicy_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Wennrich <[email protected]>
  • Loading branch information
majst01 and mwennrich authored Jan 29, 2024
1 parent 5b42cfb commit 388e808
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controllers/clusterwidenetworkpolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ func (r *ClusterwideNetworkPolicyReconciler) getReconciliationTicker(scheduleCha
}

func (r *ClusterwideNetworkPolicyReconciler) allowedCWNPs(ctx context.Context, cwnps []firewallv1.ClusterwideNetworkPolicy, accessType firewallv2.NetworkAccessType, allowedNetworks firewallv2.AllowedNetworks) ([]firewallv1.ClusterwideNetworkPolicy, error) {
// FIXME add test, report as event in case rule is not allowed

if accessType != firewallv2.NetworkAccessForbidden {
return cwnps, nil
Expand Down

0 comments on commit 388e808

Please sign in to comment.