mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
Merge pull request #9425 from HuKeping/master
inspect: format the output of docker inspect
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user