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 --- pkg/server/fsm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/server/fsm.go b/pkg/server/fsm.go index 073cd88f..f2640642 100644 --- a/pkg/server/fsm.go +++ b/pkg/server/fsm.go @@ -431,7 +431,7 @@ func (fsm *FSM) connectLoop() error { log.WithFields(log.Fields{ "Topic": "Peer", "Key": fsm.pConf.State.NeighborAddress, - }).Warn("failed to resolve local address: %s", err) + }).Warnf("failed to resolve local address: %s", err) return } var conn net.Conn -- cgit v1.2.3