Update flags.go (#1116)

This commit is contained in:
Igor Mandrigin 2020-09-14 14:48:08 +01:00 committed by GitHub
parent adf52465e3
commit 53557c3137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,8 +266,6 @@ func Setup(ctx *cli.Context) error {
} }
} }
fmt.Printf("ctx.GlobalBool(pprofFlag.Name): %v\n", ctx.GlobalBool(pprofFlag.Name))
if metrics.Enabled { if metrics.Enabled {
go metrics.CollectProcessMetrics(3 * time.Second) // Start system runtime metrics collection go metrics.CollectProcessMetrics(3 * time.Second) // Start system runtime metrics collection
} }