diff --git a/go/logic/inspect.go b/go/logic/inspect.go index 1bd0c97..524c3bf 100644 --- a/go/logic/inspect.go +++ b/go/logic/inspect.go @@ -348,7 +348,7 @@ func (this *Inspector) validateBinlogs() error { if !this.migrationContext.SwitchToRowBinlogFormat { return fmt.Errorf("You must be using ROW binlog format. I can switch it for you, provided --switch-to-rbr and that %s doesn't have replicas", this.connectionConfig.Key.String()) } - query := fmt.Sprintf(`show /* gh-ost */ slave hosts`) + query := `show /* gh-ost */ slave hosts` countReplicas := 0 err := sqlutils.QueryRowsMap(this.db, query, func(rowMap sqlutils.RowMap) error { countReplicas++