1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--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