mirror of https://github.com/vishvananda/netns
docs: fix typo
This commit is contained in:
parent
f19e34ff16
commit
dff3fd240d
|
@ -177,7 +177,7 @@ func getPidForContainer(id string) (int, error) {
|
||||||
filepath.Join(cgroupRoot, cgroupThis, id, "tasks"),
|
filepath.Join(cgroupRoot, cgroupThis, id, "tasks"),
|
||||||
// With more recent lxc versions use, cgroup will be in lxc/
|
// With more recent lxc versions use, cgroup will be in lxc/
|
||||||
filepath.Join(cgroupRoot, cgroupThis, "lxc", id, "tasks"),
|
filepath.Join(cgroupRoot, cgroupThis, "lxc", id, "tasks"),
|
||||||
// With more recent dockee, cgroup will be in docker/
|
// With more recent docker, cgroup will be in docker/
|
||||||
filepath.Join(cgroupRoot, cgroupThis, "docker", id, "tasks"),
|
filepath.Join(cgroupRoot, cgroupThis, "docker", id, "tasks"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue