diff --git a/cadvisor b/cadvisor new file mode 100755 index 00000000..c0c2f967 Binary files /dev/null and b/cadvisor differ diff --git a/container/raw/factory.go b/container/raw/factory.go index 50e5a62c..83713cd9 100644 --- a/container/raw/factory.go +++ b/container/raw/factory.go @@ -77,10 +77,9 @@ func Register() error { 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{}{ - "cpu": struct{}{}, - "cpuset": struct{}{}, - "cpuacct": struct{}{}, - "memory": struct{}{}, + "cpu": {}, + "cpuacct": {}, + "memory": {}, }