Use fmt.Println for cli JSON output

This commit is contained in:
Phy 2020-03-23 10:19:55 -04:00
parent a44891d3e8
commit 5c01e3fa22

View File

@ -135,7 +135,7 @@ func listWorkers(c *cli.Context) error {
err.Error()),
1)
}
fmt.Print(string(b))
fmt.Println(string(b))
return nil
}
@ -185,7 +185,7 @@ func listJobs(c *cli.Context) error {
fmt.Sprintf("Error printing out informations: %s", err.Error()),
1)
}
fmt.Print(string(b))
fmt.Println(string(b))
return nil
}