mirror of https://github.com/kubernetes/kops.git
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:
commit
ee18003b96
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue