Skip to content

Commit fe55533

Browse files
Dreamacrohacdias
authored andcommitted
fix: all go-log import to v2
1 parent 50f8a08 commit fe55533

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bootstrap/bootstrap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"sync/atomic"
1010
"time"
1111

12-
logging "github.com/ipfs/go-log"
12+
logging "github.com/ipfs/go-log/v2"
1313
"github.com/jbenet/goprocess"
1414
goprocessctx "github.com/jbenet/goprocess/context"
1515
periodicproc "github.com/jbenet/goprocess/periodic"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ require (
2727
github.com/ipfs/go-ipld-cbor v0.0.6
2828
github.com/ipfs/go-ipld-format v0.5.0
2929
github.com/ipfs/go-ipld-legacy v0.2.1
30-
github.com/ipfs/go-log v1.0.5
3130
github.com/ipfs/go-log/v2 v2.5.1
3231
github.com/ipfs/go-metrics-interface v0.0.1
3332
github.com/ipfs/go-peertaskqueue v0.8.1
@@ -107,6 +106,7 @@ require (
107106
github.com/huin/goupnp v1.3.0 // indirect
108107
github.com/ipfs/go-ipfs-pq v0.0.3 // indirect
109108
github.com/ipfs/go-ipfs-util v0.0.2 // indirect
109+
github.com/ipfs/go-log v1.0.5 // indirect
110110
github.com/ipfs/go-unixfs v0.4.5 // indirect
111111
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
112112
github.com/jbenet/go-temp-err-catcher v0.1.0 // indirect

peering/peering.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"sync"
99
"time"
1010

11-
"github.com/ipfs/go-log"
11+
"github.com/ipfs/go-log/v2"
1212
"github.com/libp2p/go-libp2p/core/host"
1313
"github.com/libp2p/go-libp2p/core/network"
1414
"github.com/libp2p/go-libp2p/core/peer"

0 commit comments

Comments
 (0)