summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-18 17:15:00 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-12-18 00:45:04 -0800
commitc11277d7c8b1ce6594662dbd225d4170a882a7bb (patch)
tree4c8a2558c87cf2eea2ef0b129ab21dde1a4fc8ff
parentac5b50529000cf5cccec024707c3b052f461b06b (diff)
cli: remove redundant line
before: $ gobgp global policy Import policy: Import policy: Default: ACCEPT Export policy: Export policy: Default: ACCEPT after: $ gobgp global policy Import policy: Default: ACCEPT Export policy: Default: ACCEPT Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r--gobgp/cmd/global.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/gobgp/cmd/global.go b/gobgp/cmd/global.go
index 80728c03..e0f9b594 100644
--- a/gobgp/cmd/global.go
+++ b/gobgp/cmd/global.go
@@ -754,7 +754,6 @@ func NewGlobalCmd() *cobra.Command {
Use: CMD_POLICY,
Run: func(cmd *cobra.Command, args []string) {
for _, v := range []string{CMD_IMPORT, CMD_EXPORT} {
- fmt.Printf("%s policy:\n", strings.Title(v))
if err := showNeighborPolicy(nil, v, 4); err != nil {
fmt.Println(err)
os.Exit(1)