diff --git a/internal/app/async.go b/internal/app/async.go index 48cd183b..68893831 100644 --- a/internal/app/async.go +++ b/internal/app/async.go @@ -21,7 +21,7 @@ func (app *App) CheckAsyncSwitchAllowed(node *mysql.Node, switchover *Switchover return false } if time.Duration(delay)*time.Second < app.config.AsyncAllowedLag { - app.logger.Infof("async allowed lag is %d seconds and current lag on host %s is %d, so we don't wait for catch up any more", + app.logger.Infof("async allowed lag is %f seconds and current lag on host %s is %d, so we don't wait for catch up any more", app.config.AsyncAllowedLag.Seconds(), node.Host(), delay) return true }