mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
The majority already did so, but a few used %v. Compared with %v using %q escapes any control characters ensuring they are visible in the logs (otherwise they can cause scrolling and overwriting etc). The %q formatter also includes the surrounding "s making the manual use of [] to wrap/delimit the %v output unnecessary. Signed-off-by: Ian Campbell <ian.campbell@docker.com> Upstream-commit: 6582cfb1d4fec92b17e10291d30c2e6312ceb5f5 Component: engine