Jelajahi Sumber

Merge pull request #3859 from rogaha/add_missing_attributes

- Fixed the last cli.call's parameter from CmdSearch
Guillaume J. Charmes 11 tahun lalu
induk
melakukan
9ae51c7403
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      commands.go

+ 1 - 1
commands.go

@@ -1674,7 +1674,7 @@ func (cli *DockerCli) CmdSearch(args ...string) error {
 	v := url.Values{}
 	v.Set("term", cmd.Arg(0))
 
-	body, _, err := readBody(cli.call("GET", "/images/search?"+v.Encode(), nil, false))
+	body, _, err := readBody(cli.call("GET", "/images/search?"+v.Encode(), nil, true))
 
 	if err != nil {
 		return err