Fix function name typo
Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
This commit is contained in:
parent
8ad8d40744
commit
7eb6ff005c
|
@ -138,7 +138,7 @@ func createLibcontainerConfig(spec *LinuxSpec) (*configs.Config, error) {
|
||||||
config.Namespaces.Add(t, ns.Path)
|
config.Namespaces.Add(t, ns.Path)
|
||||||
}
|
}
|
||||||
for _, m := range spec.Mounts {
|
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 {
|
if err := createDevices(spec, config); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -163,7 +163,7 @@ func createLibcontainerConfig(spec *LinuxSpec) (*configs.Config, error) {
|
||||||
return config, nil
|
return config, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func createLibcontianerMount(cwd string, m Mount) *configs.Mount {
|
func createLibcontainerMount(cwd string, m Mount) *configs.Mount {
|
||||||
flags, data := parseMountOptions(m.Options)
|
flags, data := parseMountOptions(m.Options)
|
||||||
source := m.Source
|
source := m.Source
|
||||||
if m.Type == "bind" {
|
if m.Type == "bind" {
|
||||||
|
|
Loading…
Reference in New Issue