update cadvisor godeps to v0.33.0
This commit is contained in:
6
vendor/github.com/google/cadvisor/container/containerd/handler.go
generated
vendored
6
vendor/github.com/google/cadvisor/container/containerd/handler.go
generated
vendored
@@ -18,7 +18,6 @@ package containerd
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"path"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -67,10 +66,7 @@ func newContainerdContainerHandler(
|
||||
includedMetrics container.MetricSet,
|
||||
) (container.ContainerHandler, error) {
|
||||
// Create the cgroup paths.
|
||||
cgroupPaths := make(map[string]string, len(cgroupSubsystems.MountPoints))
|
||||
for key, val := range cgroupSubsystems.MountPoints {
|
||||
cgroupPaths[key] = path.Join(val, name)
|
||||
}
|
||||
cgroupPaths := common.MakeCgroupPaths(cgroupSubsystems.MountPoints, name)
|
||||
|
||||
// Generate the equivalent cgroup manager for this container.
|
||||
cgroupManager := &cgroupfs.Manager{
|
||||
|
Reference in New Issue
Block a user