From 66f9b07817542cffc8c857b87a9a8d27d83a8a4b Mon Sep 17 00:00:00 2001 From: irti Date: Thu, 25 Apr 2019 14:19:52 +0500 Subject: [PATCH] [fix-config-change-logs-issue] fixed log statement placement --- internal/pkg/handler/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/handler/upgrade.go b/internal/pkg/handler/upgrade.go index 2333f5db..f2f640e4 100644 --- a/internal/pkg/handler/upgrade.go +++ b/internal/pkg/handler/upgrade.go @@ -97,8 +97,8 @@ func PerformRollingUpgrade(client kubernetes.Interface, config util.Config, upgr if err != nil { logrus.Errorf("Update for '%s' of type '%s' in namespace '%s' failed with error %v", resourceName, upgradeFuncs.ResourceType, config.Namespace, err) } else { - logrus.Infof("Updated '%s' of type '%s' in namespace '%s'", resourceName, upgradeFuncs.ResourceType, config.Namespace) logrus.Infof("Changes detected in '%s' of type '%s' in namespace '%s'", config.ResourceName, config.Type, config.Namespace) + logrus.Infof("Updated '%s' of type '%s' in namespace '%s'", resourceName, upgradeFuncs.ResourceType, config.Namespace) } } }