fix namespace server issue
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
e127547799
commit
8fa8afdfa4
@ -71,11 +71,12 @@ func NewOptions(opts ...Option) Options {
|
||||
Tracer: tracer.DefaultTracer,
|
||||
Broker: broker.DefaultBroker,
|
||||
Registry: registry.DefaultRegistry,
|
||||
Transport: transport.DefaultTransport,
|
||||
Address: DefaultAddress,
|
||||
Name: DefaultName,
|
||||
Version: DefaultVersion,
|
||||
Id: DefaultId,
|
||||
Transport: transport.DefaultTransport,
|
||||
Namespace: DefaultNamespace,
|
||||
}
|
||||
|
||||
for _, o := range opts {
|
||||
|
@ -144,4 +144,5 @@ var (
|
||||
DefaultRegisterCheck = func(context.Context) error { return nil }
|
||||
DefaultRegisterInterval = time.Second * 30
|
||||
DefaultRegisterTTL = time.Second * 90
|
||||
DefaultNamespace = "micro"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user