mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-14 10:15:33 +01:00
Fix output profiling filename
This commit is contained in:
parent
7d2d70b589
commit
2db4274db2
@ -48,7 +48,7 @@ func main() {
|
||||
logrus.WithError(err).Fatal("trying to create cpu profile file")
|
||||
}
|
||||
|
||||
logrus.WithField("file", cpuProfileFile).Info("Starting cpu profiling")
|
||||
logrus.WithField("file", *cpuProfileFile).Info("Starting cpu profiling")
|
||||
err = pprof.StartCPUProfile(cpuProfileFile)
|
||||
if err != nil {
|
||||
logrus.WithError(err).Fatal("trying to start cpu profile")
|
||||
|
Loading…
Reference in New Issue
Block a user