Merge pull request #9425 from HuKeping/master
inspect: format the output of docker inspect
This commit is contained in:
commit
65e75998af
|
@ -882,7 +882,7 @@ func (cli *DockerCli) CmdInspect(args ...string) error {
|
|||
// Remove trailing ','
|
||||
indented.Truncate(indented.Len() - 1)
|
||||
}
|
||||
indented.WriteByte(']')
|
||||
indented.WriteString("]\n")
|
||||
|
||||
if tmpl == nil {
|
||||
if _, err := io.Copy(cli.out, indented); err != nil {
|
||||
|
|
Loading…
Reference in New Issue