Skip to content

Commit

Permalink
fix: misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizic committed Sep 6, 2023
1 parent 267133e commit 8f1a970
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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)
}
}
}
Expand All @@ -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)
}
}
}
Expand Down

0 comments on commit 8f1a970

Please sign in to comment.