Commit 5130165d authored by Jeromy's avatar Jeromy

remove inflect package

parent 5848879b
...@@ -5,7 +5,6 @@ import ( ...@@ -5,7 +5,6 @@ import (
"strconv" "strconv"
"time" "time"
inflect "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/chuckpreslar/inflect"
process "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess" process "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess"
context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context" context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context"
u "github.com/ipfs/go-ipfs/util" u "github.com/ipfs/go-ipfs/util"
...@@ -189,7 +188,7 @@ func (bs *Bitswap) rebroadcastWorker(parent context.Context) { ...@@ -189,7 +188,7 @@ func (bs *Bitswap) rebroadcastWorker(parent context.Context) {
case <-tick: case <-tick:
n := bs.wantlist.Len() n := bs.wantlist.Len()
if n > 0 { if n > 0 {
log.Debug(n, inflect.FromNumber("keys", n), "in bitswap wantlist") log.Debug(n, "keys in bitswap wantlist")
} }
case <-broadcastSignal: // resend unfulfilled wantlist keys case <-broadcastSignal: // resend unfulfilled wantlist keys
entries := bs.wantlist.Entries() entries := bs.wantlist.Entries()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment