Applying: Fix for Issue 11285: warning message displayed when updating an existing image

Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
This commit is contained in:
Shishir Mahajan
2015-04-06 09:05:03 -04:00
parent 58390b6087
commit 7d0053d554
3 changed files with 18 additions and 3 deletions
+1
View File
@@ -698,6 +698,7 @@ func getImagesGet(eng *engine.Engine, version version.Version, w http.ResponseWr
func postImagesLoad(eng *engine.Engine, version version.Version, w http.ResponseWriter, r *http.Request, vars map[string]string) error {
job := eng.Job("load")
job.Stdin.Add(r.Body)
job.Stdout.Add(w)
return job.Run()
}