diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-11-13 16:05:26 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-11-21 10:56:23 +0900 |
commit | 051b335b663272a79216fa62c866fabe4c9d4441 (patch) | |
tree | 0f72cd16b0b16c95f0e7c4c1165432bb2939d6d0 | |
parent | a1b2ef3e8e1009ed6f9e8e9b389a70c41ee74399 (diff) |
gobgp/cmd/global: Remove unused argument
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
-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) |