diff --git a/go/vt/vtctl/reparentutil/replication.go b/go/vt/vtctl/reparentutil/replication.go index ff712f82ce2..9f292b3f4e0 100644 --- a/go/vt/vtctl/reparentutil/replication.go +++ b/go/vt/vtctl/reparentutil/replication.go @@ -286,7 +286,7 @@ func stopReplicationAndBuildStatusMaps( m.Lock() res.tabletsBackupState[alias] = isTakingBackup m.Unlock() - + var sqlThreadRunning bool // Check if the sql thread was running for the tablet sqlThreadRunning, err = SQLThreadWasRunning(stopReplicationStatus)