fmt package formats an error by calling its Error() method. This results in recursion. Fix this. Also remove dead code. Signed-off-by: Anusha Ragunathan <anusha@docker.com> Upstream-commit: 4db753c0174420152957224d38fb6e8b6ae6908e Component: engine
fmt package formats an error by calling its Error() method. This results in recursion. Fix this. Also remove dead code. Signed-off-by: Anusha Ragunathan <anusha@docker.com> Upstream-commit: 4db753c0174420152957224d38fb6e8b6ae6908e Component: engine