forked from google/cadvisor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip getVfsStats when file does not exist
There are a lot of spurious exceptions in the kubernetes kubelet logs like: E1018 21:03:09.616581 22780 fs.go:332] Stat fs failed. Error: no such file or directory Since we know that calling syscall.Statfs will just fail when the path does not exist, we should just skip making the call. NOTE: fixing 2017->2018 problems in build by running `./build/jenkins_e2e.sh`
- Loading branch information
Showing
3 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.