Fix Typo to improve GoReport

Signed-off-by: asifdxtreme <mohammad.asif.siddiqui1@huawei.com>
This commit is contained in:
asifdxtreme 2017-08-15 10:15:01 +08:00
parent 4311020c36
commit 1442ba988a
3 changed files with 3 additions and 3 deletions

View file

@ -250,7 +250,7 @@ func ensureSaneLogPath(logPath string) error {
// symlink and we need to remove it.
fi, err := os.Lstat(logPath)
if err != nil || fi.Mode()&os.ModeSymlink == 0 {
// Non-existant files and non-symlinks aren't our problem.
// Non-existent files and non-symlinks aren't our problem.
return nil
}