Skip to content

Commit 8b4b731

Browse files
authored
Fix clang tidy
1 parent db8a97f commit 8b4b731

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Storages/ObjectStorageQueue/ObjectStorageQueueOrderedFileMetadata.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ std::pair<bool, ObjectStorageQueueIFileMetadata::FileStatus::State> ObjectStorag
286286
std::vector<std::string> paths{processed_node_path, failed_node_path};
287287
auto responses = zk_client->tryGet(paths);
288288

289-
auto check_code = [this](auto code)
289+
auto check_code = [this](auto code_)
290290
{
291-
if (!(code == Coordination::Error::ZOK || code == Coordination::Error::ZNONODE))
292-
throw zkutil::KeeperException::fromPath(code, path);
291+
if (!(code_ == Coordination::Error::ZOK || code_ == Coordination::Error::ZNONODE))
292+
throw zkutil::KeeperException::fromPath(code_, path);
293293
};
294294
check_code(responses[0].error);
295295
check_code(responses[1].error);

0 commit comments

Comments
 (0)