Browse Source

Merge pull request #12844 from hqhq/hq_fix_inspect_format

fix a minor inspect format issue
Alexander Morozov 10 năm trước cách đây
mục cha
commit
868d5dca74
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/client/inspect.go

+ 1 - 1
api/client/inspect.go

@@ -34,7 +34,7 @@ func (cli *DockerCli) CmdInspect(args ...string) error {
 	}
 
 	indented := new(bytes.Buffer)
-	indented.WriteByte('[')
+	indented.WriteString("[\n")
 	status := 0
 	isImage := false