update cAdvisor godeps to v0.34.0 release

This commit is contained in:
David Ashpole
2019-08-30 10:31:03 -07:00
parent afa979c295
commit 5420d84160
6 changed files with 49 additions and 6 deletions

View File

@@ -227,6 +227,9 @@ func (self *rawContainerHandler) getFsStats(stats *info.ContainerStats) error {
}
func (self *rawContainerHandler) GetStats() (*info.ContainerStats, error) {
if *disableRootCgroupStats && isRootCgroup(self.name) {
return nil, nil
}
stats, err := self.libcontainerHandler.GetStats()
if err != nil {
return stats, err