mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge pull request #64827 from ClickHouse/fix-clang-tidy-s3-queue
Fix clang-tidy
This commit is contained in:
commit
9b7944e3a5
@ -167,7 +167,7 @@ S3QueueMetadata::FileMetadataPtr S3QueueMetadata::getFileMetadata(
|
||||
S3QueueOrderedFileMetadata::BucketInfoPtr bucket_info)
|
||||
{
|
||||
auto file_status = local_file_statuses->get(path, /* create */true);
|
||||
switch (settings.mode)
|
||||
switch (settings.mode.value)
|
||||
{
|
||||
case S3QueueMode::ORDERED:
|
||||
return std::make_shared<S3QueueOrderedFileMetadata>(
|
||||
|
@ -371,7 +371,6 @@ void S3QueueOrderedFileMetadata::setProcessedImpl()
|
||||
};
|
||||
|
||||
const auto zk_client = getZooKeeper();
|
||||
const auto node_metadata_str = node_metadata.toString();
|
||||
std::string failure_reason;
|
||||
|
||||
while (true)
|
||||
|
Loading…
Reference in New Issue
Block a user