Merge pull request #4426 from yank1/fix-a-typo-in-tool_template.go

fix a typo in tool_template.go
This commit is contained in:
k8s-ci-robot 2018-02-12 14:25:53 -08:00 committed by GitHub
commit ee18003b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ func newTemplateContext(files []string) (map[string]interface{}, error) {
// expandFiles is responsible for resolving any references to directories // expandFiles is responsible for resolving any references to directories
func expandFiles(path string) ([]string, error) { func expandFiles(path string) ([]string, error) {
// @check if the the path is a directory, if not we can return straight away // @check if the path is a directory, if not we can return straight away
stat, err := os.Stat(path) stat, err := os.Stat(path)
if err != nil { if err != nil {
return nil, err return nil, err