Improve error msg returned when no kustomization file is found

Signed-off-by: Alexander Brand <alexbrand09@gmail.com>
This commit is contained in:
Alexander Brand
2019-02-06 16:10:49 -05:00
parent d720e9ef49
commit 242b9209d8
2 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ package constants
// by Kustomize.
// In each directory, Kustomize searches for file with the name in this list.
// Only one match is allowed.
var KustomizationFileNames = [3]string{
var KustomizationFileNames = []string{
"kustomization.yaml",
"kustomization.yml",
"Kustomization",