mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-04 08:25:57 +00:00
fix lint issues
Signed-off-by: Aayush Gupta <aayu.gupta.96@gmail.com>
This commit is contained in:
parent
249be9cf76
commit
abcc83aeac
1 changed files with 1 additions and 1 deletions
|
@ -1203,7 +1203,7 @@ exports.zookeeperConnect = function (zookeeperHost, timeoutMs = 5000) {
|
|||
|
||||
socket.on("connect", function () {
|
||||
log.debug("zookeeper", `connected to zookeeper: ${host}:${port}`);
|
||||
socket.write(`ruok\n`, (err) => {
|
||||
socket.write("ruok\n", (err) => {
|
||||
if (err) {
|
||||
log.debug("zookeeper", `error while writing to host [${err.message}]`);
|
||||
reject(err);
|
||||
|
|
Loading…
Add table
Reference in a new issue