diff --git a/replication/binlogsyncer.go b/replication/binlogsyncer.go index 80609d5b9..aed7f2d77 100644 --- a/replication/binlogsyncer.go +++ b/replication/binlogsyncer.go @@ -356,7 +356,7 @@ func (b *BinlogSyncer) registerSlave() error { serverUUID, err := uuid.NewUUID() if err != nil { - b.cfg.Logger.Errorf("failed to get new uud %v", err) + b.cfg.Logger.Errorf("failed to get new uuid %v", err) return errors.Trace(err) } if _, err = b.c.Execute(fmt.Sprintf("SET @slave_uuid = '%s', @replica_uuid = '%s'", serverUUID, serverUUID)); err != nil {