mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
commit
360e08e3ef
@ -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