chore: change constant name to camelcase
This commit is contained in:
committed by
Jörn Friedrich Dreyer
parent
8b5b3fb430
commit
c0b4a5daa0
@@ -201,7 +201,7 @@ func (n *storeregistry) storeOptions(opts registry.Options) []store.Option {
|
||||
storeoptions = append(storeoptions, store.Nodes(addr...))
|
||||
|
||||
natsOptions := nats.GetDefaultOptions()
|
||||
natsOptions.Name = generators.GenerateConnectionName(serviceName, generators.NTYPE_REGISTRY)
|
||||
natsOptions.Name = generators.GenerateConnectionName(serviceName, generators.NTypeRegistry)
|
||||
natsOptions.User, natsOptions.Password = getAuth()
|
||||
natsOptions.ReconnectedCB = func(_ *nats.Conn) {
|
||||
if err := n.Init(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user