Skip to content

Commit f06abee

Browse files
mtesseractvladbologa
authored andcommitted
Fix reconciler log format message (#25)
Fix log format string interpolation
1 parent 68db3d7 commit f06abee

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
@@ -594,7 +594,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.
594594
obj.SetGroupVersionKind(*r.gvk)
595595
err = r.client.Get(ctx, req.NamespacedName, obj)
596596
if apierrors.IsNotFound(err) {
597-
log.V(1).Info("Resource %s/%s not found, nothing to do", req.NamespacedName.Namespace, req.NamespacedName.Name)
597+
log.V(1).Info(fmt.Sprintf("Resource %s/%s not found, nothing to do", req.NamespacedName.Namespace, req.NamespacedName.Name))
598598
return ctrl.Result{}, nil
599599
}
600600
if err != nil {

0 commit comments

Comments
 (0)