Update cadvisor dependency
This commit is contained in:
7
vendor/github.com/google/cadvisor/manager/manager.go
generated
vendored
7
vendor/github.com/google/cadvisor/manager/manager.go
generated
vendored
@@ -232,12 +232,12 @@ type manager struct {
|
||||
func (self *manager) Start() error {
|
||||
err := docker.Register(self, self.fsInfo, self.ignoreMetrics)
|
||||
if err != nil {
|
||||
glog.Errorf("Docker container factory registration failed: %v.", err)
|
||||
glog.Warningf("Docker container factory registration failed: %v.", err)
|
||||
}
|
||||
|
||||
err = rkt.Register(self, self.fsInfo, self.ignoreMetrics)
|
||||
if err != nil {
|
||||
glog.Errorf("Registration of the rkt container factory failed: %v", err)
|
||||
glog.Warningf("Registration of the rkt container factory failed: %v", err)
|
||||
} else {
|
||||
watcher, err := rktwatcher.NewRktContainerWatcher()
|
||||
if err != nil {
|
||||
@@ -248,7 +248,7 @@ func (self *manager) Start() error {
|
||||
|
||||
err = systemd.Register(self, self.fsInfo, self.ignoreMetrics)
|
||||
if err != nil {
|
||||
glog.Errorf("Registration of the systemd container factory failed: %v", err)
|
||||
glog.Warningf("Registration of the systemd container factory failed: %v", err)
|
||||
}
|
||||
|
||||
err = raw.Register(self, self.fsInfo, self.ignoreMetrics)
|
||||
@@ -687,6 +687,7 @@ func (self *manager) GetFsInfo(label string) ([]v2.FsInfo, error) {
|
||||
Usage: fs.Usage,
|
||||
Available: fs.Available,
|
||||
Labels: labels,
|
||||
InodesFree: fs.InodesFree,
|
||||
}
|
||||
fsInfo = append(fsInfo, fi)
|
||||
}
|
||||
|
Reference in New Issue
Block a user