From 051b335b663272a79216fa62c866fabe4c9d4441 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Mon, 13 Nov 2017 16:05:26 +0900 Subject: gobgp/cmd/global: Remove unused argument Signed-off-by: IWASE Yusuke --- gobgp/cmd/global.go | 4 ++-- 1 file 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 then -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) -- cgit v1.2.3