Merge branch 'master' into nm-refactor-migration-context
This commit is contained in:
commit
f06e23282e
@ -1 +1 @@
|
||||
1.0.40
|
||||
1.0.42
|
||||
|
@ -714,7 +714,7 @@ func (this *MigrationContext) ReadConfigFile() error {
|
||||
gcfg.RelaxedParserMode = true
|
||||
gcfgscanner.RelaxedScannerMode = true
|
||||
if err := gcfg.ReadFileInto(&this.config, this.ConfigFile); err != nil {
|
||||
return err
|
||||
return fmt.Errorf("Error reading config file %s. Details: %s", this.ConfigFile, err.Error())
|
||||
}
|
||||
|
||||
// We accept user & password in the form "${SOME_ENV_VARIABLE}" in which case we pull
|
||||
|
@ -926,7 +926,7 @@ func (this *Migrator) printStatus(rule PrintStatusRule, writers ...io.Writer) {
|
||||
}
|
||||
}
|
||||
|
||||
// initiateStreaming begins treaming of binary log events and registers listeners for such events
|
||||
// initiateStreaming begins streaming of binary log events and registers listeners for such events
|
||||
func (this *Migrator) initiateStreaming() error {
|
||||
this.eventsStreamer = NewEventsStreamer(this.migrationContext)
|
||||
if err := this.eventsStreamer.InitDBConnections(); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user