Skip to content

Commit

Permalink
gobgp/cmd/global: Remove unused argument
Browse files Browse the repository at this point in the history
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
  • Loading branch information
iwaseyusuke authored and fujita committed Nov 21, 2017
1 parent a1b2ef3 commit 051b335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gobgp/cmd/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 051b335

Please sign in to comment.