omnip620 / node-zookeeper-dubbo

A middleware helps node to communicate dubbo by using its default protocol, which is registered in zookeeper
300 stars 80 forks source link

Service.prototype._find方法报错 #31

Closed niuyang01 closed 7 years ago

niuyang01 commented 7 years ago

由于this._zk.getChildren(/${this._root}/${path}/providers, watch, handleResult);中 this._root不正确导致链接错误,应该在Serivce的构造方法显示传递root, var Service = function (zk, dubboVer, depend, root)