mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
+2
-2
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user