From a48d6ba4b4be4207a2c78c36b095fb69938e5ae5 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 30 Aug 2022 21:15:45 -0500 Subject: Go 1.19 format (#20758) * 1.19 gofumpt Signed-off-by: jolheiser * Change CSV test Signed-off-by: jolheiser * Commit whitespace fixes from @zeripath Co-authored-by: zeripath * Update emoji Signed-off-by: jolheiser * bump swagger & fix generate-swagger Signed-off-by: jolheiser Co-authored-by: zeripath Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH --- modules/pprof/pprof.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pprof') diff --git a/modules/pprof/pprof.go b/modules/pprof/pprof.go index f080728766..8ce0ad484e 100644 --- a/modules/pprof/pprof.go +++ b/modules/pprof/pprof.go @@ -25,7 +25,7 @@ func DumpMemProfileForUsername(pprofDataPath, username string) error { } // DumpCPUProfileForUsername dumps a CPU profile at pprofDataPath as cpuprofile__ -// it returns the stop function which stops, writes and closes the CPU profile file +// the stop function it returns stops, writes and closes the CPU profile file func DumpCPUProfileForUsername(pprofDataPath, username string) (func(), error) { f, err := os.CreateTemp(pprofDataPath, fmt.Sprintf("cpuprofile_%s_", username)) if err != nil { -- cgit v1.2.3