beam/data: prettier Message.Pretty()

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Upstream-commit: c9b8e0fcac0674ec1a1387c40281a905ce351300
Component: engine
This commit is contained in:
Solomon Hykes
2014-04-22 15:50:18 -07:00
parent 9b9f5c5948
commit e963a518ae
+1 -1
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 {