Skip to content

Commit b628c33

Browse files
dhaiducekmprahl
andauthored
Update controllers/propagator/propagation.go
Co-authored-by: Matt Prahl <[email protected]>
1 parent 0628595 commit b628c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/propagator/propagation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func (r *PolicyReconciler) cleanUpPolicy(instance *policiesv1.Policy) error {
188188
}
189189

190190
log.V(2).Info(
191-
fmt.Sprintf("Deleting %d replicated policies because root policy was deleted", len(replicatedPlcList.Items)))
191+
"Deleting replicated policies because root policy was deleted", "count", len(replicatedPlcList.Items))
192192

193193
policiesChan := make(chan policiesv1.Policy, len(replicatedPlcList.Items))
194194
deletionResultsChan := make(chan deletionResult, len(replicatedPlcList.Items))

0 commit comments

Comments
 (0)