Use a single line
This commit is contained in:
parent
2fb524f43a
commit
094d11d722
@ -179,14 +179,11 @@ help # This message
|
|||||||
return NoPrintStatusRule, fmt.Errorf("coordinates are read-only")
|
return NoPrintStatusRule, fmt.Errorf("coordinates are read-only")
|
||||||
}
|
}
|
||||||
case "hosts":
|
case "hosts":
|
||||||
fields := map[string]interface{}{
|
fmt.Fprintf(writer, "Hostname: %s, Applier: %s, Inspector: %s\n",
|
||||||
"Applier": this.migrationContext.GetApplierHostname(),
|
this.migrationContext.GetApplierHostname(),
|
||||||
"Hostname": this.migrationContext.Hostname,
|
this.migrationContext.Hostname,
|
||||||
"Inspector": this.migrationContext.GetInspectorHostname(),
|
this.migrationContext.GetInspectorHostname(),
|
||||||
}
|
)
|
||||||
for key, val := range fields {
|
|
||||||
fmt.Fprintf(writer, "%s: %v", key, val)
|
|
||||||
}
|
|
||||||
return NoPrintStatusRule, nil
|
return NoPrintStatusRule, nil
|
||||||
case "chunk-size":
|
case "chunk-size":
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user