From ab221bc2821c7ee584db18f6a30e29c7c99e0e17 Mon Sep 17 00:00:00 2001 From: Priya Bibra Date: Tue, 17 Sep 2024 14:57:59 -0700 Subject: [PATCH] fix null ptr Signed-off-by: Priya Bibra --- go/vt/vtorc/logic/topology_recovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtorc/logic/topology_recovery.go b/go/vt/vtorc/logic/topology_recovery.go index ee36681876d..6b45721540e 100644 --- a/go/vt/vtorc/logic/topology_recovery.go +++ b/go/vt/vtorc/logic/topology_recovery.go @@ -716,7 +716,7 @@ func executeCheckAndRecoverFunction(analysisEntry *inst.ReplicationAnalysis) (er recoveryAttempted, topologyRecovery, err := getCheckAndRecoverFunction(checkAndRecoverFunctionCode)(ctx, analysisEntry) if !recoveryAttempted { - log.Infof("No recovery attempted on %s for problem %s. Error: %s", analysisEntry.AnalyzedInstanceHostname, analysisEntry.Analysis, err.Error()) + log.Infof("No recovery attempted on %s for problem %s.", analysisEntry.AnalyzedInstanceHostname, analysisEntry.Analysis) return err } recoveryName := getRecoverFunctionName(checkAndRecoverFunctionCode)