From 01886871a40171b35b179e66d52630bc56dc5ad6 Mon Sep 17 00:00:00 2001 From: Eric <106356608+librick@users.noreply.github.com> Date: Mon, 16 Oct 2023 02:38:10 -0400 Subject: [PATCH] Fix missing deprecation tag (#2605) Co-authored-by: Eric McDonald --- options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/options.go b/options.go index beb4930f7c..1a1e9d3982 100644 --- a/options.go +++ b/options.go @@ -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 {