We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e04f959 + f68186e commit a49df98Copy full SHA for a49df98
1 file changed
daemon_config_linux_test.go
@@ -241,8 +241,16 @@ version = 1
241
242
defer cleanup()
243
244
- for k, v := range cgroupPath {
245
- if k == "rmda" {
+ paths := []string{
+ "devices",
246
+ "memory",
247
+ "cpu",
248
+ "blkio",
249
+ }
250
+
251
+ for _, p := range paths {
252
+ v := cgroupPath[p]
253
+ if v == "" {
254
continue
255
}
256
path := filepath.Join(v, customCgroup)
0 commit comments