Skip to content

Commit

Permalink
Only output object kind in logs (flyteorg#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
katrogan authored Jan 8, 2020
1 parent 795b49c commit b098ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/clusterresource/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b098ac6

Please sign in to comment.