Skip to content

Commit cf795db

Browse files
mtesseractludydoo
authored andcommitted
Fix reconciler log format message (#25)
Fix log format string interpolation
1 parent 64a007b commit cf795db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/reconciler/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.
597597
obj.SetGroupVersionKind(*r.gvk)
598598
err = r.client.Get(ctx, req.NamespacedName, obj)
599599
if apierrors.IsNotFound(err) {
600-
log.V(1).Info("Resource %s/%s not found, nothing to do", req.NamespacedName.Namespace, req.NamespacedName.Name)
600+
log.V(1).Info(fmt.Sprintf("Resource %s/%s not found, nothing to do", req.NamespacedName.Namespace, req.NamespacedName.Name))
601601
return ctrl.Result{}, nil
602602
}
603603
if err != nil {

0 commit comments

Comments
 (0)