mirror of
https://github.com/moby/moby.git
synced 2026-07-09 16:17:28 +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>