Skip to content

Commit

Permalink
Fix missing deprecation tag (#2605)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric McDonald <librick@users.noreply.github.com>
  • Loading branch information
librick and librick committed Oct 16, 2023
1 parent 17a4649 commit 0188687
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ func PrometheusRegisterer(reg prometheus.Registerer) Option {
// DialRanker configures libp2p to use d as the dial ranker. To enable smart
// dialing use `swarm.DefaultDialRanker`. use `swarm.NoDelayDialRanker` to
// disable smart dialing.
//
// Deprecated: use SwarmOpts(swarm.WithDialRanker(d)) instead
func DialRanker(d network.DialRanker) Option {
return func(cfg *Config) error {
Expand Down

0 comments on commit 0188687

Please sign in to comment.