mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
God damn you nil map
This commit is contained in:
@@ -82,9 +82,10 @@ func newConsulRegistry(opts ...Option) Registry {
|
|||||||
client, _ := consul.NewClient(config)
|
client, _ := consul.NewClient(config)
|
||||||
|
|
||||||
cr := &consulRegistry{
|
cr := &consulRegistry{
|
||||||
Address: config.Address,
|
Address: config.Address,
|
||||||
Client: client,
|
Client: client,
|
||||||
Options: options,
|
Options: options,
|
||||||
|
register: make(map[string]uint64),
|
||||||
}
|
}
|
||||||
|
|
||||||
return cr
|
return cr
|
||||||
|
Reference in New Issue
Block a user