From: Ritu Sood Date: Thu, 16 Jul 2020 01:31:16 +0000 (-0700) Subject: Change the Info to print resource name X-Git-Tag: 0.7.0~87 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F110223%2F1;p=multicloud%2Fk8s.git Change the Info to print resource name Issue-ID: MULTICLOUD-1005 Signed-off-by: Ritu Sood Change-Id: Ifca8f939b0d2e8baccb7c97b3a1c857e16b59fa3 --- 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 }