From 775ed7af04ad385df7ba90fc1b0507f9570754b0 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Mon, 16 Jul 2018 20:55:16 +0900 Subject: fix unittest warnings with go tip Signed-off-by: FUJITA Tomonori --- internal/pkg/table/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pkg/table/path.go') 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 } -- cgit v1.2.3