mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Simplify
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
parent
0265fabfca
commit
e53752db04
@ -206,8 +206,7 @@ bool SystemRemoteDataPathsSource::nextDisk()
|
||||
if (current_disk >= static_cast<ssize_t>(disks.size()))
|
||||
break;
|
||||
|
||||
paths_stack.emplace_back();
|
||||
auto & current = paths_stack.back();
|
||||
auto & current = paths_stack.emplace_back();
|
||||
|
||||
/// Add dirs that we want to traverse. It's ok if some of them don't exist because traversal logic hadles
|
||||
/// cases when children of a directory get deleted while traversal is running.
|
||||
|
Loading…
Reference in New Issue
Block a user