mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 02:20:53 +00:00
Fix some minor naming mistakes. (#434)
* Fix some minor naming mistakes. * Fix some minor naming mistakes.
This commit is contained in:
@@ -50,14 +50,14 @@ type KustTarget struct {
|
||||
fSys fs.FileSystem
|
||||
rf *resmap.Factory
|
||||
tcfg *transformerconfig.TransformerConfig
|
||||
ptf patch.PatchTransformerFactory
|
||||
ptf patch.TransformerFactory
|
||||
}
|
||||
|
||||
// NewKustTarget returns a new instance of KustTarget primed with a Loader.
|
||||
func NewKustTarget(
|
||||
ldr ifc.Loader, fSys fs.FileSystem,
|
||||
rf *resmap.Factory,
|
||||
ptf patch.PatchTransformerFactory,
|
||||
ptf patch.TransformerFactory,
|
||||
tcfg *transformerconfig.TransformerConfig,
|
||||
d ifc.Decoder, h ifc.Hash) (*KustTarget, error) {
|
||||
content, err := ldr.Load(constants.KustomizationFileName)
|
||||
|
||||
@@ -90,7 +90,7 @@ metadata:
|
||||
)
|
||||
|
||||
var rf = resmap.NewFactory(resource.NewFactory(
|
||||
k8sdeps.NewKustKunstructuredFactory(k8sdeps.NewKustDecoder())))
|
||||
k8sdeps.NewKunstructuredFactoryImpl(k8sdeps.NewKustDecoder())))
|
||||
|
||||
func makeLoader1(t *testing.T) ifc.Loader {
|
||||
ldr := loadertest.NewFakeLoader("/testpath")
|
||||
|
||||
Reference in New Issue
Block a user