Fix output profiling filename

This commit is contained in:
Geoff Bourne 2019-05-04 11:25:12 -05:00
parent 7d2d70b589
commit 2db4274db2

View File

@ -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")