Fix syntax error in profiling_on.go (#1437)

This commit is contained in:
Todd Knight authored and GitHub committed 2021-08-02 09:58:58 -07:00
1 parent 947dc96b30
commit 03b4c095c4
1 file changed
+1 -1
+1 -1
View File
@@ -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)