From ed6a7b5c9c845319e1626c393b5addd17306f40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Sun, 27 Oct 2024 10:22:52 +0100 Subject: [PATCH] replication: fix uuid typo --- replication/binlogsyncer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/replication/binlogsyncer.go b/replication/binlogsyncer.go index 6763bf3f7..b27a3cfb9 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 {