Fix syntax error in profiling_on.go (#1437)

pull/1438/head
Todd Knight 5 years ago committed by GitHub
parent 947dc96b30
commit 03b4c095c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ func StartMemProfiler(ctx context.Context) {
}
runtime.GC()
if err := pprof.WriteHeapProfile(f); err != nil {
event.WriteError(ctx, op, err, "could not write memory profile"))
event.WriteError(ctx, op, err, "could not write memory profile")
}
f.Close()
event.WriteSysEvent(ctx, op, "wrote memory profile", "filename", filename)

Loading…
Cancel
Save