Skip to content

Commit

Permalink
Add temporal debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
fhielpos committed Nov 13, 2023
1 parent d930a13 commit 194da42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/policyreport_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func (r *PolicyReportReconciler) Reconcile(ctx context.Context, req ctrl.Request
for _, namespace := range r.ExcludeNamespaces {
if namespace == policyReport.Namespace {
// Namespace is excluded, ignore
log.Log.Info("Namespace %s is excluded, report will be ignored", namespace)
return reconcile.Result{}, nil
}
}
Expand Down

0 comments on commit 194da42

Please sign in to comment.