Skip to content

Commit

Permalink
Fixes #11085: Adapt CLI to accept new end run format
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset committed Jul 5, 2017
1 parent c8c4307 commit bf73a3e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions share/lib/reports.awk
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@ BEGIN {
# skip this one
next
}

# New control log introduced in 4.2
if (r[3] == "control" && r[4] == "rudder" && r[5] == "run")
{
if (r[7] == "start")
{
printf "Start execution with config [%s]\n\n", r[8];
next
}
if (r[7] == "end")
{
end_run = 1;
# skip this one
next
}
}

if (r[3] == "result_success")
{
Expand Down

0 comments on commit bf73a3e

Please sign in to comment.