Browse Source

Fix mistaken call to fmt.Println

Jonathan Rudenberg 12 years ago
parent
commit
52ef89f9c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api.go

+ 1 - 1
api.go

@@ -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
 }