1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-01-20 18:52:16 +00:00

update background scan logging messages (#7142)

Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
shuting 2023-05-09 23:18:03 +08:00 committed by GitHub
parent 348d771f3c
commit f7e9c45585
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,7 +372,7 @@ func (pc *policyController) forceReconciliation(ctx context.Context) {
for { for {
select { select {
case <-ticker.C: case <-ticker.C:
logger.Info("performing the background scan", "scan interval", pc.reconcilePeriod.String()) logger.Info("reconciling generate and mutateExisting policies", "scan interval", pc.reconcilePeriod.String())
pc.requeuePolicies() pc.requeuePolicies()
case <-ctx.Done(): case <-ctx.Done():