Merge pull request #1146 from darkowlzz/1092-ctr-info-output-fix

cmd/ctr: info marshal Container proto struct
This commit is contained in:
Michael Crosby 2017-07-10 10:08:54 -07:00 committed by GitHub
commit bc6095d0dd

View File

@ -31,7 +31,7 @@ var infoCommand = cli.Command{
if err != nil {
return err
}
cjson, err := json.MarshalIndent(container, "", " ")
cjson, err := json.MarshalIndent(container.Proto(), "", " ")
if err != nil {
return err
}