fix style

This commit is contained in:
serxa 2023-09-04 14:18:54 +00:00
parent 258da91b5f
commit aa8e9c3cbc
2 changed files with 4 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);