From 8f1a970e5554e7df3c88e39664f3f9ff4c79c152 Mon Sep 17 00:00:00 2001 From: Fizic Date: Wed, 6 Sep 2023 10:51:10 +0300 Subject: [PATCH] fix: misspell --- internal/app/app.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/app/app.go b/internal/app/app.go index 0060def1..ea1bcf4b 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -1433,7 +1433,7 @@ func (app *App) repairSlaveOfflineMode(host string, node *mysql.Node, state *Nod } err = node.SetDefaultReplicationSettings(masterNode) if err != nil { - app.logger.Errorf("repair: failed to set optimise replication settings on slave %s: %s", host, err) + app.logger.Errorf("repair: failed to set optimize replication settings on slave %s: %s", host, err) } err = node.SetOnline() if err != nil { @@ -1452,7 +1452,7 @@ func (app *App) repairSlaveOfflineMode(host string, node *mysql.Node, state *Nod host, *state.SlaveState.ReplicationLag, app.config.OfflineModeEnableLag) err = node.OptimizeReplication() if err != nil { - app.logger.Errorf("repair: failed to set optimise replication settings on slave %s: %s", host, err) + app.logger.Errorf("repair: failed to set optimize replication settings on slave %s: %s", host, err) } } } @@ -1476,7 +1476,7 @@ func (app *App) repairSlaveOfflineMode(host string, node *mysql.Node, state *Nod } err = node.OptimizeReplication() if err != nil { - app.logger.Errorf("repair: failed to set optimise replication settings on slave %s: %s", host, err) + app.logger.Errorf("repair: failed to set optimize replication settings on slave %s: %s", host, err) } } }