Skip to content

Commit 20337e7

Browse files
Add version_comment to applier too
1 parent 1c1581f commit 20337e7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

go/logic/applier.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ func (this *Applier) InitDBConnections() (err error) {
9999
return err
100100
}
101101
this.migrationContext.Log.Infof("Applier initiated on %+v, version %+v (%+v)", this.connectionConfig.ImpliedKey,
102-
this.migrationContext.ApplierServerInfo.Version,
103-
this.migrationContext.ApplierServerInfo.VersionComment,
104-
)
102+
this.migrationContext.ApplierServerInfo.Version, this.migrationContext.ApplierServerInfo.VersionComment)
105103
return nil
106104
}
107105

go/logic/inspect.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ func (this *Inspector) InitDBConnections() (err error) {
7575
if err := this.applyBinlogFormat(); err != nil {
7676
return err
7777
}
78-
this.migrationContext.Log.Infof("Inspector initiated on %+v, version %+v", this.connectionConfig.ImpliedKey, this.migrationContext.InspectorServerInfo.Version)
78+
this.migrationContext.Log.Infof("Inspector initiated on %+v, version %+v (%+v)", this.connectionConfig.ImpliedKey,
79+
this.migrationContext.InspectorServerInfo.Version, this.migrationContext.InspectorServerInfo.VersionComment)
7980
return nil
8081
}
8182

0 commit comments

Comments
 (0)