From ad02ea4b31bc3a8e32c72f4a2905bfe94194ae33 Mon Sep 17 00:00:00 2001 From: Ritu Sood Date: Wed, 15 Jul 2020 18:31:16 -0700 Subject: Change the Info to print resource name Issue-ID: MULTICLOUD-1005 Signed-off-by: Ritu Sood Change-Id: Ifca8f939b0d2e8baccb7c97b3a1c857e16b59fa3 --- src/rsync/pkg/context/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rsync') diff --git a/src/rsync/pkg/context/context.go b/src/rsync/pkg/context/context.go index 3ce6ee9b..f6a33ad8 100644 --- a/src/rsync/pkg/context/context.go +++ b/src/rsync/pkg/context/context.go @@ -74,7 +74,7 @@ func terminateResource(ac appcontext.AppContext, c *kubeclient.Client, name stri } logutils.Info("Deleted::", logutils.Fields{ "cluster": cluster, - "resource": res, + "resource": name, }) return nil } @@ -124,7 +124,7 @@ func instantiateResource(ac appcontext.AppContext, c *kubeclient.Client, name st } logutils.Info("Installed::", logutils.Fields{ "cluster": cluster, - "resource": res, + "resource": name, }) return nil } -- cgit 1.2.3-korg