Merge pull request #98 from vmarmol/fixes

Remove cpuset cgroup for listing on raw driver.
This commit is contained in:
monnand 2014-07-21 21:30:55 -04:00
commit 8c890bf447
2 changed files with 4 additions and 5 deletions

BIN
cadvisor Executable file

Binary file not shown.

View File

@ -77,10 +77,9 @@ func Register() error {
return nil return nil
} }
// Cgroup susbsystems we support listing (should be the minimal set we need stats from). // Cgroup subsystems we support listing (should be the minimal set we need stats from).
var supportedSubsystems map[string]struct{} = map[string]struct{}{ var supportedSubsystems map[string]struct{} = map[string]struct{}{
"cpu": struct{}{}, "cpu": {},
"cpuset": struct{}{}, "cpuacct": {},
"cpuacct": struct{}{}, "memory": {},
"memory": struct{}{},
} }