moby/opts
Phil Estes 1ce9fa1c60 Add more helpful error message for -add-host
Fixes: #10655

As noted in the issue, bad format was being returned even if the format
was appropriate, but the IP was invalid.  This adds a better error
message for when the IP address fails validation.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-02-09 12:45:50 -05:00
..
envfile.go env-file: variable behavior 2014-03-31 14:45:13 -04:00
ip.go Fix inconsistency in IP address parsing errors 2014-08-13 19:25:51 +00:00
opts.go Add more helpful error message for -add-host 2015-02-09 12:45:50 -05:00
opts_test.go Add more helpful error message for -add-host 2015-02-09 12:45:50 -05:00