mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
Fix tidy
This commit is contained in:
parent
ab426ad25e
commit
660530c611
@ -258,10 +258,9 @@ std::optional<size_t> ReadBufferFromAzureBlobStorage::tryGetFileSize()
|
||||
if (!blob_client)
|
||||
blob_client = std::make_unique<Azure::Storage::Blobs::BlobClient>(blob_container_client->GetBlobClient(path));
|
||||
|
||||
if (file_size.has_value())
|
||||
return *file_size;
|
||||
if (!file_size)
|
||||
file_size = blob_client->GetProperties().Value.BlobSize;
|
||||
|
||||
file_size = blob_client->GetProperties().Value.BlobSize;
|
||||
return *file_size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user