Remove the use of error channel from go routine

This commit is contained in:
Maidul Islam
2023-01-16 16:52:59 -08:00
parent 40696e4095
commit 74c0dcd1f5
2 changed files with 6 additions and 21 deletions
@@ -80,6 +80,7 @@ func (r *InfisicalSecretReconciler) Reconcile(ctx context.Context, req ctrl.Requ
}
// Sync again after the specified time
fmt.Printf("Operator will requeue after [%v] \n", requeueTime)
return ctrl.Result{
RequeueAfter: requeueTime,
}, nil