Skip to content

Commit

Permalink
Use double quote for error wraping
Browse files Browse the repository at this point in the history
  • Loading branch information
tsenart committed Nov 21, 2014
1 parent 82dbc45 commit 0b84771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dumpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (f DumperFunc) Dump(r *Result) ([]byte, error) { return f(r) }
// request latency in ns, bytes out, bytes in, and lastly the error.
var DumpCSV DumperFunc = func(r *Result) ([]byte, error) {
var buf bytes.Buffer
_, err := fmt.Fprintf(&buf, "%d,%d,%d,%d,%d,'%s'\n",
_, err := fmt.Fprintf(&buf, "%d,%d,%d,%d,%d,\"%s\"\n",
r.Timestamp.UnixNano(),
r.Code,
r.Latency.Nanoseconds(),
Expand Down

0 comments on commit 0b84771

Please sign in to comment.