This commit is contained in:
renaynay 2020-04-17 16:35:05 +02:00
parent 3c7b84eaae
commit 977ce1c262
No known key found for this signature in database
GPG key ID: 6557F5413D663EDB

View file

@ -183,7 +183,7 @@ func Setup(ctx *cli.Context) error {
}
port := ctx.GlobalInt(pprofPortFlag.Name)
if ctx.GlobalIsSet(pprofLegacyPortFlag.Name) && !ctx.GlobalIsSet(pprofPortFlag.Name){
if ctx.GlobalIsSet(pprofLegacyPortFlag.Name) && !ctx.GlobalIsSet(pprofPortFlag.Name) {
port = ctx.GlobalInt(pprofLegacyPortFlag.Name)
}