mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user