mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #508 from ryane/fix-507
kustomize build loads transformer configs when path argument omitted
This commit is contained in:
@@ -96,9 +96,9 @@ func (o *buildOptions) Validate(args []string, p string, fs fs.FileSystem) error
|
|||||||
}
|
}
|
||||||
if len(args) == 0 {
|
if len(args) == 0 {
|
||||||
o.kustomizationPath = "./"
|
o.kustomizationPath = "./"
|
||||||
return nil
|
} else {
|
||||||
|
o.kustomizationPath = args[0]
|
||||||
}
|
}
|
||||||
o.kustomizationPath = args[0]
|
|
||||||
|
|
||||||
if p == "" {
|
if p == "" {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user