mirror of https://github.com/docker/docker-py.git
Bug with empty list for DnsSearch
Signed-off-by: DimitriiIgnatev <dimitrii@insiktintelligence.com>
This commit is contained in:
parent
20b5491363
commit
ac4d204fd5
|
@ -233,7 +233,7 @@ class HostConfig(dict):
|
|||
if read_only is not None:
|
||||
self['ReadonlyRootfs'] = read_only
|
||||
|
||||
if dns_search:
|
||||
if dns_search is not None:
|
||||
self['DnsSearch'] = dns_search
|
||||
|
||||
if network_mode:
|
||||
|
|
Loading…
Reference in New Issue