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

fix zk options

This commit is contained in:
Tony 2019-11-06 09:55:22 +08:00
parent c3bd753b86
commit d505c27892

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,