DockerCLI/opts
David Calavera 8c734c8cde Use an empty slice as default value for DNS, DNSSearch and DNSOptions
So we don't print those <no value> in the client and we don't fail
executing inspect templates with API field names.

Make sure those fields are initialized as empty slices when
a container is loaded from disk and their values are nil.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2017-05-15 11:57:16 +02:00
..
envfile.go Revert environment regexp from 13694 2017-05-15 11:57:15 +02:00
envfile_test.go Revert environment regexp from 13694 2017-05-15 11:57:15 +02:00
hosts_unix.go Finish linting opts and trust package. 2017-05-15 11:57:15 +02:00
hosts_windows.go Change ParseTCPAddr to use tcp://127.0.0.0:2375 format as default consistently 2017-05-15 11:57:15 +02:00
ip.go Finish linting opts and trust package. 2017-05-15 11:57:15 +02:00
ip_test.go golint: trust 2017-05-15 11:57:15 +02:00
opts.go Use an empty slice as default value for DNS, DNSSearch and DNSOptions 2017-05-15 11:57:16 +02:00
opts_test.go Windows: Add volume support 2017-05-15 11:57:15 +02:00
opts_unix.go Windows [TP4] localhost mitigation 2017-05-15 11:57:16 +02:00
opts_windows.go Windows [TP4] localhost mitigation 2017-05-15 11:57:16 +02:00
ulimit.go Opts lint issues, ip and ulimit 2017-05-15 11:57:15 +02:00
ulimit_test.go Add and modify tests for legacy and new daemon invokations 2017-05-15 11:57:14 +02:00