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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user