Remove the global variable used. Allows easier unit testing. Signed-off-by: Vincent Demeester <vincent@sbr.pm> (cherry picked from commit 6e21829af4) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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