From 0abdea90947de867719c622a51f0382bcdf592ee Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 9 Jul 2014 00:25:21 +0000 Subject: [PATCH] add check on docker run Docker-DCO-1.1-Signed-off-by: Victor Vieux (github: vieux) --- runconfig/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runconfig/parse.go b/runconfig/parse.go index 8673993918..f4cec3fbf1 100644 --- a/runconfig/parse.go +++ b/runconfig/parse.go @@ -44,7 +44,7 @@ func parseRun(cmd *flag.FlagSet, args []string, sysInfo *sysinfo.SysInfo) (*Conf flPublish opts.ListOpts flExpose opts.ListOpts - flDns opts.ListOpts + flDns = opts.NewListOpts(opts.ValidateIpAddress) flDnsSearch = opts.NewListOpts(opts.ValidateDnsSearch) flVolumesFrom opts.ListOpts flLxcOpts opts.ListOpts