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:
parent
c3bd753b86
commit
d505c27892
@ -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…
x
Reference in New Issue
Block a user