Skip to content

Commit 2db4274

Browse files
committed
Fix output profiling filename
1 parent 7d2d70b commit 2db4274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/mc-router/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func main() {
4848
logrus.WithError(err).Fatal("trying to create cpu profile file")
4949
}
5050

51-
logrus.WithField("file", cpuProfileFile).Info("Starting cpu profiling")
51+
logrus.WithField("file", *cpuProfileFile).Info("Starting cpu profiling")
5252
err = pprof.StartCPUProfile(cpuProfileFile)
5353
if err != nil {
5454
logrus.WithError(err).Fatal("trying to start cpu profile")

0 commit comments

Comments
 (0)