mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Zookeeper: style fix
This commit is contained in:
parent
67944de74e
commit
e201f39f7f
@ -390,7 +390,7 @@ bool ZooKeeper::tryGet(const std::string & path, std::string & res, Stat * stat_
|
|||||||
{
|
{
|
||||||
int32_t code = retry(std::bind(&ZooKeeper::getImpl, this, std::ref(path), std::ref(res), stat_, watch));
|
int32_t code = retry(std::bind(&ZooKeeper::getImpl, this, std::ref(path), std::ref(res), stat_, watch));
|
||||||
|
|
||||||
if (!( code == ZOK ||
|
if (!(code == ZOK ||
|
||||||
code == ZNONODE))
|
code == ZNONODE))
|
||||||
throw KeeperException(code, path);
|
throw KeeperException(code, path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user