Update src/Common/AsynchronousMetrics.cpp

This commit is contained in:
Sergei Trifonov 2023-06-02 18:15:20 +02:00 committed by GitHub
parent 6243a16824
commit 9d0a63bd92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -948,7 +948,7 @@ void AsynchronousMetrics::update(TimePoint update_time)
std::string line;
readText(line, *cgroupcpu_max);
auto space = line.find(" ");
auto space = line.find(' ');
if (line.rfind("max", space) == std::string::npos)
{