mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-27 03:08:04 +00:00
Fix mistaken call to fmt.Println
This commit is contained in:
@@ -363,7 +363,7 @@ func postBuild(srv *Server, w http.ResponseWriter, r *http.Request, vars map[str
|
||||
defer in.Close()
|
||||
fmt.Fprintf(out, "HTTP/1.1 200 OK\r\nContent-Type: application/vnd.docker.raw-stream\r\n\r\n")
|
||||
if err := srv.ImageCreateFromFile(in, out); err != nil {
|
||||
fmt.Fprintln(out, "Error: %s\n", err)
|
||||
fmt.Fprintf(out, "Error: %s\n", err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user