mirror of
https://github.com/go-micro/go-micro.git
synced 2025-03-29 20:39:48 +02:00
Don't set the registry in new options for web services (#1489)
This commit is contained in:
parent
bea7c3f7e7
commit
c4442a7533
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user