Merge pull request #414 from bilibili/naming/fix

fix zk options
pull/416/head v0.3.0
Tony 5 years ago committed by GitHub
commit 360e08e3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/naming/zookeeper/zookeeper.go

@ -106,7 +106,7 @@ func New(c *Config) (zkb *Zookeeper, err error) {
}
// 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{
id: appid,
zkb: z,

Loading…
Cancel
Save