1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

Merge pull request #414 from bilibili/naming/fix

fix zk options
This commit is contained in:
Tony 2019-11-06 10:03:35 +08:00 committed by GitHub
commit 360e08e3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,