From 03b4c095c4951d75bd89518eba383708866b2929 Mon Sep 17 00:00:00 2001 From: Todd Knight Date: Mon, 2 Aug 2021 09:58:58 -0700 Subject: [PATCH] Fix syntax error in profiling_on.go (#1437) --- internal/cmd/base/profiling_on.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/base/profiling_on.go b/internal/cmd/base/profiling_on.go index e16cdc8276..c07e4de37b 100644 --- a/internal/cmd/base/profiling_on.go +++ b/internal/cmd/base/profiling_on.go @@ -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)