aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsync/pkg/context/context.go
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2020-07-15 18:31:16 -0700
committerRitu Sood <ritu.sood@intel.com>2020-07-15 18:31:16 -0700
commitad02ea4b31bc3a8e32c72f4a2905bfe94194ae33 (patch)
tree08581d65121ed4241ec69cad06abf65be329b644 /src/rsync/pkg/context/context.go
parentad17b4360890fc2915795515ac265fc66720f4ad (diff)
Change the Info to print resource name
Issue-ID: MULTICLOUD-1005 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: Ifca8f939b0d2e8baccb7c97b3a1c857e16b59fa3
Diffstat (limited to 'src/rsync/pkg/context/context.go')
-rw-r--r--src/rsync/pkg/context/context.go4
1 files changed, 2 insertions, 2 deletions
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
}