mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Make sure we validate the default address given before using it, and combine the parsing/validation logic so that it can be reused. This patch also makes the errors more consistent, and uses pkg/errors for generating them. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>