Delete some unnecessary parameter passing.

This commit is contained in:
Jeffrey Regan
2018-10-18 10:59:46 -07:00
parent 66bbae586f
commit 2b0e2725f9
24 changed files with 65 additions and 112 deletions

View File

@@ -92,7 +92,7 @@ func (o *addMetadataOptions) runE(
if err != nil {
return err
}
kf, err := kustfile.NewKustomizationFile(constants.KustomizationFileName, fSys)
kf, err := kustfile.NewKustomizationFile(fSys)
if err != nil {
return err
}