mirror of https://github.com/docker/docs.git
beam/data: prettier Message.Pretty()
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
parent
00b272c252
commit
b9e76ae8db
|
@ -65,7 +65,7 @@ func (m Message) Pretty() string {
|
||||||
for k, values := range data {
|
for k, values := range data {
|
||||||
entries = append(entries, fmt.Sprintf("%s=%s", k, strings.Join(values, ",")))
|
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 {
|
func (m Message) String() string {
|
||||||
|
|
Loading…
Reference in New Issue