summaryrefslogtreecommitdiffhomepage
path: root/pkg
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 /pkg
parentfb999f325b7b160df371145eb6fb29fbb5c73f21 (diff)
fix unittest warnings with go tip
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/server/fsm.go2
1 files changed, 1 insertions, 1 deletions
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