Add 'Hostname:' prefix to output

This commit is contained in:
Tim Vaillancourt 2021-04-03 22:34:20 +02:00
parent 5e9b913035
commit 23a421cef7

View File

@ -180,10 +180,10 @@ help # This message
return NoPrintStatusRule, fmt.Errorf("coordinates are read-only")
}
case "applier":
fmt.Fprintln(writer, this.migrationContext.GetApplierHostname())
fmt.Fprintf(writer, "Hostname: %s\n", this.migrationContext.GetApplierHostname())
return NoPrintStatusRule, nil
case "inspector":
fmt.Fprintln(writer, this.migrationContext.GetInspectorHostname())
fmt.Fprintf(writer, "Hostname: %s\n", this.migrationContext.GetInspectorHostname())
return NoPrintStatusRule, nil
case "chunk-size":
{