Skip to content

Commit f06e232

Browse files
committed
Merge branch 'master' into nm-refactor-migration-context
2 parents 84bdfdb + dfc9f41 commit f06e232

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

RELEASE_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.40
1+
1.0.42

go/base/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ func (this *MigrationContext) ReadConfigFile() error {
714714
gcfg.RelaxedParserMode = true
715715
gcfgscanner.RelaxedScannerMode = true
716716
if err := gcfg.ReadFileInto(&this.config, this.ConfigFile); err != nil {
717-
return err
717+
return fmt.Errorf("Error reading config file %s. Details: %s", this.ConfigFile, err.Error())
718718
}
719719

720720
// We accept user & password in the form "${SOME_ENV_VARIABLE}" in which case we pull

go/logic/migrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ func (this *Migrator) printStatus(rule PrintStatusRule, writers ...io.Writer) {
926926
}
927927
}
928928

929-
// initiateStreaming begins treaming of binary log events and registers listeners for such events
929+
// initiateStreaming begins streaming of binary log events and registers listeners for such events
930930
func (this *Migrator) initiateStreaming() error {
931931
this.eventsStreamer = NewEventsStreamer(this.migrationContext)
932932
if err := this.eventsStreamer.InitDBConnections(); err != nil {

0 commit comments

Comments
 (0)