mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
fix style
This commit is contained in:
parent
258da91b5f
commit
aa8e9c3cbc
@ -211,7 +211,8 @@ public:
|
||||
|
||||
std::optional<double> getChildVRuntime(ISchedulerNode * child) const
|
||||
{
|
||||
for (const auto & item : items) {
|
||||
for (const auto & item : items)
|
||||
{
|
||||
if (child == item.child)
|
||||
return item.vruntime;
|
||||
}
|
||||
|
@ -47,7 +47,8 @@ NamesAndTypesList StorageSystemScheduler::getNamesAndTypes()
|
||||
|
||||
void StorageSystemScheduler::fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const
|
||||
{
|
||||
context->getResourceManager()->forEachNode([&] (const String & resource, const String & path, const String & type, const SchedulerNodePtr & node) {
|
||||
context->getResourceManager()->forEachNode([&] (const String & resource, const String & path, const String & type, const SchedulerNodePtr & node)
|
||||
{
|
||||
size_t i = 0;
|
||||
res_columns[i++]->insert(resource);
|
||||
res_columns[i++]->insert(path);
|
||||
|
Loading…
Reference in New Issue
Block a user