1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

beam/data: prettier Message.Pretty()

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Solomon Hykes 2014-03-25 18:36:11 -07:00
parent d7a2ae8e13
commit c9b8e0fcac

View file

@ -65,7 +65,7 @@ func (m Message) Pretty() string {
for k, values := range data {
entries = append(entries, fmt.Sprintf("%s=%s", k, strings.Join(values, ",")))
}
return strings.Join(entries, "\n")
return strings.Join(entries, " ")
}
func (m Message) String() string {