1
0
mirror of https://github.com/docker/cli.git synced 2026-01-15 07:40:57 +03:00

beam/data: Message.Bytes() convenience method

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Upstream-commit: 5bcf2a736ce154aa9cd6c664db639a35f888fd18
Component: engine
This commit is contained in:
Solomon Hykes
2014-03-24 17:31:30 -07:00
parent 14e7275b78
commit 3887238dfb

View File

@@ -45,3 +45,7 @@ func (m Message) Del(k string) Message {
func (m Message) String() string {
return string(m)
}
func (m Message) Bytes() []byte {
return []byte(m)
}