Fix syntax error in profiling_on.go (#1437)
This commit is contained in:
1 parent
947dc96b30
commit
03b4c095c4
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user