Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjinx committed Oct 16, 2023
1 parent 06bb5d0 commit 79877a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletmanager/replmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (rm *replManager) check() {
func (rm *replManager) checkActionLocked() {
status, err := rm.tm.MysqlDaemon.ReplicationStatus()
if err != nil {
if err.Error() != mysql.ErrNotReplica.Error() {
if err != mysql.ErrNotReplica {
return
}
log.Infof("slack error: check replication status failed with err: %v, sql err: %v", err, mysql.ErrNotReplica)
Expand Down

0 comments on commit 79877a8

Please sign in to comment.