[BUG] Sometime API `CheckDockerVersion` doesn't return Docker version
Closed this issue · 1 comments
TonyMasse commented
Describe the bug
Sometimes, Docker -v output is on more than one line.
In that case, the parser doesn't recognise the version number.
{
"stillChecking":false,
"lastSuccessfulCheckTimeStampUtc":1676992820.153,
"payload":null,
"errors":[
],
"outputs":[
"Docker version ",
"23.0.1, build a5ee5b1\n"
]
}
Expected behavior
Docker version should be parsed every times.
Additional context
Thanks @jkaufman-LogRhythm for finding this one.