diff --git a/pkg/clusterresource/controller.go b/pkg/clusterresource/controller.go index 35a8e94a7d..ca5d799024 100644 --- a/pkg/clusterresource/controller.go +++ b/pkg/clusterresource/controller.go @@ -280,8 +280,8 @@ func (c *controller) syncNamespace(ctx context.Context, namespace NamespaceName, } for _, target := range c.executionCluster.GetAllValidTargets() { k8sObjCopy := k8sObj.DeepCopyObject() - logger.Debugf(ctx, "Attempting to create resource [%+v](%+v) in cluster [%v] for namespace [%s]", - k8sObj.GetObjectKind().GroupVersionKind().Kind, k8sObj, target.ID, namespace) + logger.Debugf(ctx, "Attempting to create resource [%+v] in cluster [%v] for namespace [%s]", + k8sObj.GetObjectKind().GroupVersionKind().Kind, target.ID, namespace) err = target.Client.Create(ctx, k8sObjCopy) if err != nil { if k8serrors.IsAlreadyExists(err) {