Fix some minor naming mistakes. (#434)

* Fix some minor naming mistakes.

* Fix some minor naming mistakes.
This commit is contained in:
Jeff Regan
2018-10-08 15:58:44 -07:00
committed by Jingfang Liu
parent fd3cd64e11
commit 30814302af
22 changed files with 35 additions and 35 deletions

View File

@@ -151,16 +151,6 @@ func makeLoader(t *testing.T) ifc.Loader {
func TestRegisterCRD(t *testing.T) {
refpathconfigs := []transformerconfig.ReferencePathConfig{
{
Gvk: gvk.Gvk{Kind: "Bee", Version: "v1beta1"},
PathConfigs: []transformerconfig.PathConfig{
{
CreateIfNotPresent: false,
Gvk: gvk.Gvk{Kind: "MyKind"},
Path: "spec/beeRef/name",
},
},
},
{
Gvk: gvk.Gvk{Kind: "Secret", Version: "v1"},
PathConfigs: []transformerconfig.PathConfig{
@@ -171,6 +161,16 @@ func TestRegisterCRD(t *testing.T) {
},
},
},
{
Gvk: gvk.Gvk{Kind: "Bee", Version: "v1beta1"},
PathConfigs: []transformerconfig.PathConfig{
{
CreateIfNotPresent: false,
Gvk: gvk.Gvk{Kind: "MyKind"},
Path: "spec/beeRef/name",
},
},
},
}
expected := &transformerconfig.TransformerConfig{