moby/utils
Dan Walsh a297d6ab8c Replace utils.CheckLocalDns with bytes.Contains line
Since RemoveLocalDns patch will  remove all localhost entries
from resolv.conf we no longer need anything more then
!bytes.Contains(resolvConf, []byte("nameserver")

To check for no nameserver entry in dns config.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
2014-09-29 06:37:31 -04:00
..
daemon.go go fmt 2013-11-07 12:27:33 -08:00
http.go Extract log utils into pkg/log 2014-08-13 15:18:15 -07:00
jsonmessage.go Merge pull request #7942 from estesp/7747-stderr-stdout-bug 2014-09-22 10:53:34 -07:00
jsonmessage_test.go jsonmessage: added test and cleaned up others 2014-07-28 14:43:28 -04:00
progressreader.go Fix io.Reader ambiguity on EOF in progressreader 2014-07-25 19:26:27 -04:00
random.go Fixed up if statement 2014-06-10 10:02:00 -04:00
streamformatter.go Remove unused and racy "used" param from streamformatter 2014-06-02 21:43:07 +04:00
streamformatter_test.go Remove unused and racy "used" param from streamformatter 2014-06-02 21:43:07 +04:00
timeoutconn.go Use Timeout Conn wrapper to set read deadline for downloading layer 2014-05-27 22:50:04 -07:00
timeoutconn_test.go utils: add test for TimeoutConn 2014-06-07 15:11:57 -07:00
tmpdir.go Docker should use /var/lib/container/tmp for large temporary files. 2014-08-05 16:43:42 -04:00
tmpdir_unix.go Docker should use /var/lib/container/tmp for large temporary files. 2014-08-05 16:43:42 -04:00
utils.go Replace utils.CheckLocalDns with bytes.Contains line 2014-09-29 06:37:31 -04:00
utils_test.go Replace utils.CheckLocalDns with bytes.Contains line 2014-09-29 06:37:31 -04:00