Skip to content

Commit

Permalink
Merge pull request #572 from SuhwanJang/fix
Browse files Browse the repository at this point in the history
FIX: main_zk is not set yet in arcus_zk_client_init()
  • Loading branch information
jhpark816 authored Feb 23, 2021
2 parents 72823d3 + a66a413 commit 6c3fb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcus_zk.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ arcus_zk_client_init(zk_info_t *zinfo)
// ZK client ping period is recv_timeout / 3.
arcus_conf.logger->log(EXTENSION_LOG_INFO, NULL,
"ZooKeeper client initialized. (ZK session timeout=%d sec)\n",
zoo_recv_timeout(main_zk->zh)/1000);
zoo_recv_timeout(zinfo->zh)/1000);
return 0;
}

Expand Down

0 comments on commit 6c3fb54

Please sign in to comment.