Skip to content

Commit 80b5c84

Browse files
mtesseractludydoo
authored andcommitted
Fix reconciler log format message (#25)
Fix log format string interpolation
1 parent 007bf56 commit 80b5c84

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
@@ -630,7 +630,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.
630630
obj.SetGroupVersionKind(*r.gvk)
631631
err = r.client.Get(ctx, req.NamespacedName, obj)
632632
if apierrors.IsNotFound(err) {
633-
log.V(1).Info("Resource %s/%s not found, nothing to do", req.NamespacedName.Namespace, req.NamespacedName.Name)
633+
log.V(1).Info(fmt.Sprintf("Resource %s/%s not found, nothing to do", req.NamespacedName.Namespace, req.NamespacedName.Name))
634634
return ctrl.Result{}, nil
635635
}
636636
if err != nil {

0 commit comments

Comments
 (0)