File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,6 @@ func (c *Controller) reconcileHandler(obj interface{}) bool {
234
234
// resource to be synced.
235
235
if result , err := c .Do .Reconcile (req ); err != nil {
236
236
c .Queue .AddRateLimited (req )
237
- log .Error (err , "Reconciler error" )
238
237
ctrlmetrics .ReconcileErrors .WithLabelValues (c .Name ).Inc ()
239
238
ctrlmetrics .ReconcileTotal .WithLabelValues (c .Name , "error" ).Inc ()
240
239
return false
@@ -257,9 +256,7 @@ func (c *Controller) reconcileHandler(obj interface{}) bool {
257
256
// get queued again until another change happens.
258
257
c .Queue .Forget (obj )
259
258
260
- // TODO(directxman12): What does 1 mean? Do we want level constants? Do we want levels at all?
261
- log .V (1 ).Info ("Successfully Reconciled" )
262
-
259
+ log .V (5 ).Info ("Successfully Reconciled" )
263
260
ctrlmetrics .ReconcileTotal .WithLabelValues (c .Name , "success" ).Inc ()
264
261
// Return true, don't take a break
265
262
return true
You can’t perform that action at this time.
0 commit comments