Merge pull request #1390 from AkihiroSuda/fix-typo

client: Resoveconf -> Resolvconf
This commit is contained in:
Michael Crosby 2017-08-18 09:39:31 -04:00 committed by GitHub
commit 0c10ce01c9

View File

@ -176,8 +176,8 @@ func WithHostHostsFile(s *specs.Spec) error {
return nil return nil
} }
// WithHostResoveconf bind-mounts the host's /etc/resolv.conf into the container as readonly // WithHostResolvconf bind-mounts the host's /etc/resolv.conf into the container as readonly
func WithHostResoveconf(s *specs.Spec) error { func WithHostResolvconf(s *specs.Spec) error {
s.Mounts = append(s.Mounts, specs.Mount{ s.Mounts = append(s.Mounts, specs.Mount{
Destination: "/etc/resolv.conf", Destination: "/etc/resolv.conf",
Type: "bind", Type: "bind",