Remove the global variable used. Allows easier unit testing. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 6e21829af4 Component: cli
6e21829af4
Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: 875daf0130 Component: cli
875daf0130
This reverts commit 3e911ff825. Upstream-commit: d2cb97e76d Component: cli
3e911ff825
d2cb97e76d