make BuildOptions exported

This commit is contained in:
Jingfang Liu
2019-01-07 13:52:52 -08:00
parent a5c6938c65
commit b9ab948ef2
2 changed files with 14 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ func TestBuildValidate(t *testing.T) {
"", "specify one path to " + constants.KustomizationFileName},
}
for _, mycase := range cases {
opts := buildOptions{}
opts := BuildOptions{}
e := opts.Validate(mycase.args)
if len(mycase.erMsg) > 0 {
if e == nil {