summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-07-16 20:55:16 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-07-24 09:31:36 +0900
commit775ed7af04ad385df7ba90fc1b0507f9570754b0 (patch)
tree689d7fa70aa5ab79a4ad708c1537c02c9ed0fad9 /internal/pkg/table
parentfb999f325b7b160df371145eb6fb29fbb5c73f21 (diff)
fix unittest warnings with go tip
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'internal/pkg/table')
-rw-r--r--internal/pkg/table/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/table/path.go b/internal/pkg/table/path.go
index d6407882..55748b08 100644
--- a/internal/pkg/table/path.go
+++ b/internal/pkg/table/path.go
@@ -305,7 +305,7 @@ func UpdatePathAttrs(global *config.Global, peer *config.Neighbor, info *PeerInf
log.WithFields(log.Fields{
"Topic": "Peer",
"Key": peer.State.NeighborAddress,
- }).Warnf("invalid peer type: %d", peer.State.PeerType)
+ }).Warnf("invalid peer type: %v", peer.State.PeerType)
}
return path
}