@@ -178,18 +178,22 @@ help # This message
178
178
return NoPrintStatusRule , fmt .Errorf ("coordinates are read-only" )
179
179
}
180
180
case "applier" :
181
- if this .migrationContext .ApplierConnectionConfig != nil && this .migrationContext .ApplierConnectionConfig .ImpliedKey != nil {
182
- fmt .Fprintf (writer , "Host: %s, Version: %s\n " ,
181
+ if this .migrationContext .ApplierConnectionConfig != nil && this .migrationContext .ApplierConnectionConfig .ImpliedKey != nil &&
182
+ this .migrationContext .ApplierServerInfo != nil {
183
+ fmt .Fprintf (writer , "Host: %s, Version: %s (%s)\n " ,
183
184
this .migrationContext .ApplierConnectionConfig .ImpliedKey .String (),
184
185
this .migrationContext .ApplierServerInfo .Version ,
186
+ this .migrationContext .ApplierServerInfo .VersionComment ,
185
187
)
186
188
}
187
189
return NoPrintStatusRule , nil
188
190
case "inspector" :
189
- if this .migrationContext .InspectorConnectionConfig != nil && this .migrationContext .InspectorConnectionConfig .ImpliedKey != nil {
190
- fmt .Fprintf (writer , "Host: %s, Version: %s\n " ,
191
+ if this .migrationContext .InspectorConnectionConfig != nil && this .migrationContext .InspectorConnectionConfig .ImpliedKey != nil &&
192
+ this .migrationContext .InspectorServerInfo != nil {
193
+ fmt .Fprintf (writer , "Host: %s, Version: %s (%s)\n " ,
191
194
this .migrationContext .InspectorConnectionConfig .ImpliedKey .String (),
192
195
this .migrationContext .InspectorServerInfo .Version ,
196
+ this .migrationContext .InspectorServerInfo .VersionComment ,
193
197
)
194
198
}
195
199
return NoPrintStatusRule , nil
0 commit comments