mirror of
https://github.com/docker/cli.git
synced 2026-08-31 18:14:29 -05:00
If the empty variable happens to be sorted to the end of the list then TrimSpace() would remove it. Instead only strip the single trailing newline. Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: fff605c3b3557acf6bf793813d695fba59d7fa21 Component: engine