Merge pull request #81204 from codenrhoden/rename-hu-pathexists

Rename HostUtils.ExistsPath to PathExists
This commit is contained in:
Kubernetes Prow Robot
2019-08-12 20:12:12 -07:00
committed by GitHub
11 changed files with 20 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ import (
"os"
"regexp"
"k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/uuid"
@@ -365,7 +365,7 @@ type fileTypeChecker struct {
}
func (ftc *fileTypeChecker) Exists() bool {
exists, err := ftc.hu.ExistsPath(ftc.path)
exists, err := ftc.hu.PathExists(ftc.path)
return exists && err == nil
}