Browse Source

fix: remove v1 go-log dep

pull/1189/head
Steven Allen 3 years ago
parent
commit
2c69c99b23
  1. 1
      go.mod
  2. 2
      p2p/protocol/circuitv2/client/client.go
  3. 2
      p2p/protocol/circuitv2/relay/relay.go
  4. 2
      p2p/protocol/circuitv2/test/e2e_test.go

1
go.mod

@ -12,7 +12,6 @@ require (
github.com/ipfs/go-datastore v0.4.6
github.com/ipfs/go-detect-race v0.0.1
github.com/ipfs/go-ipfs-util v0.0.2
github.com/ipfs/go-log v1.0.5
github.com/ipfs/go-log/v2 v2.3.0
github.com/jbenet/goprocess v0.1.4
github.com/klauspost/cpuid/v2 v2.0.9 // indirect

2
p2p/protocol/circuitv2/client/client.go

@ -9,7 +9,7 @@ import (
"github.com/libp2p/go-libp2p-core/host"
"github.com/libp2p/go-libp2p-core/peer"
logging "github.com/ipfs/go-log"
logging "github.com/ipfs/go-log/v2"
tptu "github.com/libp2p/go-libp2p-transport-upgrader"
)

2
p2p/protocol/circuitv2/relay/relay.go

@ -17,7 +17,7 @@ import (
"github.com/libp2p/go-libp2p-core/peer"
"github.com/libp2p/go-libp2p-core/record"
logging "github.com/ipfs/go-log"
logging "github.com/ipfs/go-log/v2"
pool "github.com/libp2p/go-buffer-pool"
ma "github.com/multiformats/go-multiaddr"
manet "github.com/multiformats/go-multiaddr/net"

2
p2p/protocol/circuitv2/test/e2e_test.go

@ -18,7 +18,7 @@ import (
"github.com/libp2p/go-libp2p-core/network"
"github.com/libp2p/go-libp2p-core/peer"
logging "github.com/ipfs/go-log"
logging "github.com/ipfs/go-log/v2"
bhost "github.com/libp2p/go-libp2p-blankhost"
metrics "github.com/libp2p/go-libp2p-core/metrics"
pstoremem "github.com/libp2p/go-libp2p-peerstore/pstoremem"

Loading…
Cancel
Save