(path string)
| 41 | } |
| 42 | |
| 43 | func (c *cpuController) Path(path string) string { |
| 44 | return filepath.Join(c.root, path) |
| 45 | } |
| 46 | |
| 47 | func (c *cpuController) Create(path string, resources *specs.LinuxResources) error { |
| 48 | if err := os.MkdirAll(c.Path(path), defaultDirPerm); err != nil { |