Skip to content

Commit

Permalink
Don't set the registry in new options for web services (micro#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Apr 6, 2020
1 parent bea7c3f commit c4442a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c4442a7

Please sign in to comment.