Authored by 郝肖肖

'zookeeper'

... ... @@ -23,7 +23,7 @@ class ZookeeperModel extends model {
let degradeServer = await DegradeServer.findAll();
if (degradeServer[0]) {
return await zookeeperHelpers.getter(`${item.ip}:${item.port}`, path);
return await zookeeperHelpers.getter(`${degradeServer[0].ip}:${degradeServer[0].port}`, path);
}
return null;
... ...