Skip to content

Commit

Permalink
fix(nodebuilder/p2p): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg committed Oct 23, 2024
1 parent d5da7fd commit ee163a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodebuilder/p2p/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/ipfs/go-datastore"
connmgri "github.com/libp2p/go-libp2p/core/connmgr"
"github.com/libp2p/go-libp2p/core/peerstore"
"github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds" //nolint:staticcheck //nolint:nolintlint
"github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds" //nolint:nolintlint

Check failure on line 10 in nodebuilder/p2p/misc.go

View workflow job for this annotation

GitHub Actions / go-ci / Lint

SA1019: "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds" is deprecated: The database-backed peerstore will be removed from go-libp2p in the future. Use the memory peerstore (pstoremem) instead. For more details see https://github.com/libp2p/go-libp2p/issues/2329 and https://github.com/libp2p/go-libp2p/issues/2355. (staticcheck)
"github.com/libp2p/go-libp2p/p2p/net/conngater"
"github.com/libp2p/go-libp2p/p2p/net/connmgr"

Expand Down

0 comments on commit ee163a6

Please sign in to comment.