Skip to content

Commit 92fe376

Browse files
committed
Fixed typos
1 parent b0243eb commit 92fe376

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ydb/tests/tools/kqprun/src/actors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class TResourcesWaiterActor : public NActors::TActorBootstrapped<TResourcesWaite
162162
ResourceManager_ = NKikimr::NKqp::TryGetKqpResourceManager(SelfId().NodeId());
163163
}
164164

165-
void UpdateResourcesInfo() {
165+
void UpdateResourcesInfo() const {
166166
ResourceManager_->RequestClusterResourcesInfo(
167167
[selfId = SelfId(), actorContext = ActorContext()](TVector<NKikimrKqp::TKqpNodeResources>&& resources) {
168168
actorContext.Send(selfId, new TEvPrivate::TEvResourcesInfo(resources.size()));

ydb/tests/tools/kqprun/src/kqp_runner.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ TString FormatNumber(i64 number) {
3535
}
3636

3737
void PrintStatistics(const TString& fullStat, const THashMap<TString, i64>& flatStat, const NFq::TPublicStat& publicStat, IOutputStream& output) {
38-
output << "\nFlat statistic:" << Endl;
38+
output << "\nFlat statistics:" << Endl;
3939
for (const auto& [propery, value] : flatStat) {
4040
TString valueString = ToString(value);
4141
if (propery.find("Bytes") != TString::npos || propery.find("Source") != TString::npos) {
@@ -50,7 +50,7 @@ void PrintStatistics(const TString& fullStat, const THashMap<TString, i64>& flat
5050
output << propery << " = " << valueString << Endl;
5151
}
5252

53-
output << "\nPublic statistic:" << Endl;
53+
output << "\nPublic statistics:" << Endl;
5454
if (auto memoryUsageBytes = publicStat.MemoryUsageBytes) {
5555
output << "MemoryUsage = " << NKikimr::NBlobDepot::FormatByteSize(*memoryUsageBytes) << Endl;
5656
}
@@ -73,7 +73,7 @@ void PrintStatistics(const TString& fullStat, const THashMap<TString, i64>& flat
7373
output << "RunningTasks = " << FormatNumber(*runningTasks) << Endl;
7474
}
7575

76-
output << "\nFull statistic:" << Endl;
76+
output << "\nFull statistics:" << Endl;
7777
NJson::TJsonValue statsJson;
7878
NJson::ReadJsonTree(fullStat, &statsJson);
7979
NJson::WriteJson(&output, &statsJson, true, true, true);
@@ -313,7 +313,7 @@ class TKqpRunner::TImpl {
313313

314314
outputStream << "\nCPU usage: " << cpuUsage << Endl;
315315
PrintStatistics(fullStat, flatStat, publicStat, outputStream);
316-
} catch(const NJson::TJsonException& ex) {
316+
} catch (const NJson::TJsonException& ex) {
317317
outputStream << "Error stat conversion: " << ex.what() << Endl;
318318
}
319319

0 commit comments

Comments
 (0)