From d10f5508b3d466b96159b90e5639fc9497d40ae9 Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Tue, 26 Oct 2021 09:38:43 +0200 Subject: [PATCH] Cleanup --- command/debug.go | 2 +- command/server/flags.go | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/command/debug.go b/command/debug.go index b182811053..5ea2c9f44a 100644 --- a/command/debug.go +++ b/command/debug.go @@ -44,7 +44,7 @@ func (d *DebugCommand) Flags() *flagset.Flagset { Name: "seconds", Usage: "seconds to trace", Value: &d.seconds, - Default: 5, + Default: 2, }) flags.StringFlag(&flagset.StringFlag{ Name: "output", diff --git a/command/server/flags.go b/command/server/flags.go index e62a3a5c0b..303e5e9818 100644 --- a/command/server/flags.go +++ b/command/server/flags.go @@ -446,13 +446,5 @@ func (c *Command) Flags() *flagset.Flagset { Usage: "Address and port to bind the GRPC server", Value: &c.cliConfig.GRPC.Addr, }) - - // grpc - f.StringFlag(&flagset.StringFlag{ - Name: "grpc.addr", - Usage: "Address and port to bind the GRPC server", - Value: &c.cliConfig.GRPC.Addr, - }) - return f }