fix zk options

pull/414/head
Tony 5 years ago
parent c3bd753b86
commit d505c27892
  1. 2
      pkg/naming/zookeeper/zookeeper.go

@ -106,7 +106,7 @@ func New(c *Config) (zkb *Zookeeper, err error) {
} }
// Build zookeeper resovler builder. // Build zookeeper resovler builder.
func (z *Zookeeper) Build(appid string) naming.Resolver { func (z *Zookeeper) Build(appid string, options ...naming.BuildOpt) naming.Resolver {
r := &Resolve{ r := &Resolve{
id: appid, id: appid,
zkb: z, zkb: z,

Loading…
Cancel
Save