Skip to content

Commit 6c3fb54

Browse files
authored
Merge pull request #572 from SuhwanJang/fix
FIX: main_zk is not set yet in arcus_zk_client_init()
2 parents 72823d3 + a66a413 commit 6c3fb54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcus_zk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ arcus_zk_client_init(zk_info_t *zinfo)
396396
// ZK client ping period is recv_timeout / 3.
397397
arcus_conf.logger->log(EXTENSION_LOG_INFO, NULL,
398398
"ZooKeeper client initialized. (ZK session timeout=%d sec)\n",
399-
zoo_recv_timeout(main_zk->zh)/1000);
399+
zoo_recv_timeout(zinfo->zh)/1000);
400400
return 0;
401401
}
402402

0 commit comments

Comments
 (0)