|
@@ -33,7 +33,7 @@ func Context(ctx context.Context) Option {
|
|
|
|
|
|
|
|
// Namespace with registry namespace.
|
|
// Namespace with registry namespace.
|
|
|
func Namespace(ns string) Option {
|
|
func Namespace(ns string) Option {
|
|
|
- return func(o *options) { o.namespace = ns }
|
|
|
|
|
|
|
+ return func(o *options) { o.namespace = fmt.Sprintf("/%s/naming", ns) }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// RegisterTTL with register ttl.
|
|
// RegisterTTL with register ttl.
|