From 5f7c527ed54da0a3136a592e7e9f4a6263a5ae91 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 18 Aug 2017 06:33:54 +0000 Subject: [PATCH] client: Resoveconf -> Resolvconf Signed-off-by: Akihiro Suda --- spec_opts_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec_opts_unix.go b/spec_opts_unix.go index da16ecbb0..bf90577ff 100644 --- a/spec_opts_unix.go +++ b/spec_opts_unix.go @@ -176,8 +176,8 @@ func WithHostHostsFile(s *specs.Spec) error { return nil } -// WithHostResoveconf bind-mounts the host's /etc/resolv.conf into the container as readonly -func WithHostResoveconf(s *specs.Spec) error { +// WithHostResolvconf bind-mounts the host's /etc/resolv.conf into the container as readonly +func WithHostResolvconf(s *specs.Spec) error { s.Mounts = append(s.Mounts, specs.Mount{ Destination: "/etc/resolv.conf", Type: "bind",