From 7eb6ff005cf58c31d98e5ef4f5163bd94a094470 Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Wed, 24 Jun 2015 15:19:18 -0700 Subject: [PATCH] Fix function name typo Docker-DCO-1.1-Signed-off-by: Phil Estes (github: estesp) --- spec_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec_linux.go b/spec_linux.go index 6a041170..7e430bbb 100644 --- a/spec_linux.go +++ b/spec_linux.go @@ -138,7 +138,7 @@ func createLibcontainerConfig(spec *LinuxSpec) (*configs.Config, error) { config.Namespaces.Add(t, ns.Path) } for _, m := range spec.Mounts { - config.Mounts = append(config.Mounts, createLibcontianerMount(cwd, m)) + config.Mounts = append(config.Mounts, createLibcontainerMount(cwd, m)) } if err := createDevices(spec, config); err != nil { return nil, err @@ -163,7 +163,7 @@ func createLibcontainerConfig(spec *LinuxSpec) (*configs.Config, error) { return config, nil } -func createLibcontianerMount(cwd string, m Mount) *configs.Mount { +func createLibcontainerMount(cwd string, m Mount) *configs.Mount { flags, data := parseMountOptions(m.Options) source := m.Source if m.Type == "bind" {