fix: formatting error message for service-related objects

This commit is contained in:
Dario Tranchitella
2022-05-05 13:33:39 +00:00
parent e7227d24e9
commit 9f6883d309
+1 -1
View File
@@ -44,7 +44,7 @@ func (r *abstractServiceLabelsReconciler) Reconcile(ctx context.Context, request
return reconcile.Result{}, nil
}
r.log.Error(err, fmt.Sprintf("Cannot sync %t labels", r.obj))
r.log.Error(err, fmt.Sprintf("Cannot sync %T %s/%s labels", r.obj, r.obj.GetNamespace(), r.obj.GetName()))
return reconcile.Result{}, err
}