Skip to content

Commit 23a421c

Browse files
Add 'Hostname:' prefix to output
1 parent 5e9b913 commit 23a421c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/logic/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ help # This message
180180
return NoPrintStatusRule, fmt.Errorf("coordinates are read-only")
181181
}
182182
case "applier":
183-
fmt.Fprintln(writer, this.migrationContext.GetApplierHostname())
183+
fmt.Fprintf(writer, "Hostname: %s\n", this.migrationContext.GetApplierHostname())
184184
return NoPrintStatusRule, nil
185185
case "inspector":
186-
fmt.Fprintln(writer, this.migrationContext.GetInspectorHostname())
186+
fmt.Fprintf(writer, "Hostname: %s\n", this.migrationContext.GetInspectorHostname())
187187
return NoPrintStatusRule, nil
188188
case "chunk-size":
189189
{

0 commit comments

Comments
 (0)