Skip to content

Commit

Permalink
Fix confusing PV controller log (#1526)
Browse files Browse the repository at this point in the history
Ref #1511
  • Loading branch information
mumoshu authored Jun 13, 2022
1 parent 933b0c7 commit 0ef9a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/sync_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func syncPV(ctx context.Context, c client.Client, log logr.Logger, ns string, pv
if pv.Labels[labelKeyCleanup] == "" {
// We assume that the pvc is shortly terminated, hence retry forever until it gets removed.
retry := 10 * time.Second
log.V(1).Info("Retrying sync until pvc gets removed", "requeueAfter", retry)
log.V(2).Info("Retrying sync to see if this PV needs to be managed by ARC", "requeueAfter", retry)
return &ctrl.Result{RequeueAfter: retry}, nil
}

Expand Down

0 comments on commit 0ef9a22

Please sign in to comment.