File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
internal/controller/state/mirror Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func TestPathWithBackendRef(t *testing.T) {
29
29
idx int
30
30
}{
31
31
{
32
- name : "with namespace" ,
32
+ name : "with backendRef namespace" ,
33
33
idx : 1 ,
34
34
backendRef : v1.BackendObjectReference {
35
35
Name : "service1" ,
@@ -39,7 +39,7 @@ func TestPathWithBackendRef(t *testing.T) {
39
39
expected : helpers .GetPointer ("/_ngf-internal-mirror-namespace1/service1-routeNs/routeName1-1" ),
40
40
},
41
41
{
42
- name : "without namespace" ,
42
+ name : "without backendRef namespace" ,
43
43
idx : 2 ,
44
44
backendRef : v1.BackendObjectReference {
45
45
Name : "service2" ,
@@ -72,15 +72,15 @@ func TestBackendPath(t *testing.T) {
72
72
idx int
73
73
}{
74
74
{
75
- name : "With namespace" ,
75
+ name : "With backendRef namespace" ,
76
76
idx : 1 ,
77
77
namespace : helpers .GetPointer ("namespace1" ),
78
78
service : "service1" ,
79
79
routeNsName : types.NamespacedName {Namespace : "routeNs" , Name : "routeName1" },
80
80
expected : helpers .GetPointer ("/_ngf-internal-mirror-namespace1/service1-routeNs/routeName1-1" ),
81
81
},
82
82
{
83
- name : "Without namespace" ,
83
+ name : "Without backendRef namespace" ,
84
84
idx : 2 ,
85
85
namespace : nil ,
86
86
service : "service2" ,
You can’t perform that action at this time.
0 commit comments