Merge pull request #3468 from crosbymichael/custom-cgroup
Improve custom cgroup test
This commit is contained in:
commit
a49df98ee9
@ -241,8 +241,16 @@ version = 1
|
|||||||
|
|
||||||
defer cleanup()
|
defer cleanup()
|
||||||
|
|
||||||
for k, v := range cgroupPath {
|
paths := []string{
|
||||||
if k == "rmda" {
|
"devices",
|
||||||
|
"memory",
|
||||||
|
"cpu",
|
||||||
|
"blkio",
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, p := range paths {
|
||||||
|
v := cgroupPath[p]
|
||||||
|
if v == "" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
path := filepath.Join(v, customCgroup)
|
path := filepath.Join(v, customCgroup)
|
||||||
|
Loading…
Reference in New Issue
Block a user