diff --git a/contrib/registry/consul/registry.go b/contrib/registry/consul/registry.go index 5b8cb5fcc..507e36f89 100644 --- a/contrib/registry/consul/registry.go +++ b/contrib/registry/consul/registry.go @@ -63,6 +63,7 @@ func WithDeregisterCriticalServiceAfter(interval int) Option { } } +// WithRegistryServicePortByScheme with registry service port by scheme func WithRegistryServicePortByScheme(scheme string) Option { return func(o *Registry) { if o.cli != nil {