Skip to content

Commit

Permalink
Fix mistaken call to fmt.Println
Browse files Browse the repository at this point in the history
  • Loading branch information
titanous committed May 15, 2013
1 parent 04748a7 commit 52ef89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 52ef89f

Please sign in to comment.