Fixing issue in dagrunner where tasks were never removed from running list

This commit is contained in:
Ian Roddis
2022-01-13 12:52:00 -04:00
parent 854ca5be22
commit 9e7d78788b
3 changed files with 9 additions and 4 deletions

View File

@@ -587,8 +587,7 @@ namespace daggy::daggyd {
return a.startTime < b.startTime;
});
for (size_t i = 0; i < tr->attempts.size(); ++i) {
const auto &attempt = tr->attempts[i];
for (const auto &attempt : tr->attempts) {
ss << "<tr><td valign=top>" << timePointToString(attempt.startTime)
<< "</td><td><pre>rc: " << attempt.rc
<< "\n\nstdout:\n--------------\n"