diff options
-rw-r--r-- | gobgp/cmd/global.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobgp/cmd/global.go b/gobgp/cmd/global.go index 30f94b5f..e434b10f 100644 --- a/gobgp/cmd/global.go +++ b/gobgp/cmd/global.go @@ -1035,7 +1035,7 @@ usage: %s rib %s%%smatch <MATCH_EXPR> then <THEN_EXPR> -a %%s return err } -func showGlobalConfig(args []string) error { +func showGlobalConfig() error { g, err := client.GetServer() if err != nil { return err @@ -1105,7 +1105,7 @@ func NewGlobalCmd() *cobra.Command { if len(args) != 0 { err = modGlobalConfig(args) } else { - err = showGlobalConfig(args) + err = showGlobalConfig() } if err != nil { exitWithError(err) |