From c4442a7533230a25fa5a3fe03606b925497a8e25 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 6 Apr 2020 13:40:40 +0100 Subject: [PATCH] Don't set the registry in new options for web services (#1489) --- web/options.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/options.go b/web/options.go index 16aa41c5..c0325564 100644 --- a/web/options.go +++ b/web/options.go @@ -68,9 +68,7 @@ func newOptions(opts ...Option) Options { for _, o := range opts { o(&opt) } - if opt.Registry == nil { - opt.Registry = registry.DefaultRegistry - } + if opt.RegisterCheck == nil { opt.RegisterCheck = DefaultRegisterCheck }