Closed odinuge closed 5 years ago
thanks for moving the PR here @odinuge please have a look at my latest comments.
Thanks for the feedback @neolit123!
When it comes to the error message I just took the result from the docker info
command directly. I guess we can run lowercase on the result inside the validator, but it feels kinda yanky to me.
Originates from here: https://github.com/moby/moby/blob/master/client/errors.go#L18
Here is the output:
ok, i'm surprised that these errors are formatted like so on the side of docker.
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: neolit123, odinuge
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What type of PR is this? /kind cleanup
What this PR does / why we need it:
If docker engine/server is not running, the preflight check will now report:
because the output of
docker info --format "{{json .}}"
is:With this PR the check will report:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/assign neolit123
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: