Allow directory substrings in cycle check.

This commit is contained in:
Jeffrey Regan
2018-12-13 15:20:15 -08:00
parent bd83773a1e
commit 352ec69556
3 changed files with 41 additions and 2 deletions

View File

@@ -243,7 +243,7 @@ func (kt *KustTarget) loadCustomizedBases() (resmap.ResMap, *interror.Kustomizat
for _, path := range kt.kustomization.Bases {
ldr, err := kt.ldr.New(path)
if err != nil {
errs.Append(errors.Wrap(err, "couldn't make ldr for "+path))
errs.Append(errors.Wrap(err, "couldn't make loader for "+path))
continue
}
target, err := NewKustTarget(