1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/opts
Sebastiaan van Stijn a3ae9a5956
opts: ParseTCPAddr(): extract parsing logic, consistent errors
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>
2022-05-01 19:53:40 +02:00
..
address_pools.go Fix libnetwork imports 2021-06-01 21:51:23 +00:00
address_pools_test.go
env.go
env_test.go
hosts.go opts: ParseTCPAddr(): extract parsing logic, consistent errors 2022-05-01 19:53:40 +02:00
hosts_test.go opts: ParseTCPAddr(): extract parsing logic, consistent errors 2022-05-01 19:53:40 +02:00
hosts_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
hosts_windows.go opts: unify host-options, and use consts 2020-10-31 16:44:21 +01:00
opts.go
opts_test.go
runtime.go
ulimit.go
ulimit_test.go