Use json to encode invalid values in configuration errors so that the user sees a proper repr of the value.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-10-30 16:50:31 -04:00
commit bf1552da79
8 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,4 @@
from __future__ import absolute_import
from __future__ import unicode_literals
from docker.errors import DockerException