@@ -50,11 +50,11 @@ func TestNginxProxyKubernetes(t *testing.T) {
50
50
t .Run (tt .name , func (t * testing.T ) {
51
51
t .Parallel ()
52
52
spec := tt .spec
53
- policyName := uniqueResourceName (testResourceName )
53
+ resourceName := uniqueResourceName (testResourceName )
54
54
55
55
nginxProxy := & ngfAPIv1alpha2.NginxProxy {
56
56
ObjectMeta : controllerruntime.ObjectMeta {
57
- Name : policyName ,
57
+ Name : resourceName ,
58
58
Namespace : defaultNamespace ,
59
59
},
60
60
Spec : spec ,
@@ -102,11 +102,11 @@ func TestNginxProxyRewriteClientIP(t *testing.T) {
102
102
t .Run (tt .name , func (t * testing.T ) {
103
103
t .Parallel ()
104
104
spec := tt .spec
105
- policyName := uniqueResourceName (testResourceName )
105
+ resourceName := uniqueResourceName (testResourceName )
106
106
107
107
nginxProxy := & ngfAPIv1alpha2.NginxProxy {
108
108
ObjectMeta : controllerruntime.ObjectMeta {
109
- Name : policyName ,
109
+ Name : resourceName ,
110
110
Namespace : defaultNamespace ,
111
111
},
112
112
Spec : spec ,
@@ -170,11 +170,11 @@ func TestNginxProxyAutoscaling(t *testing.T) {
170
170
t .Run (tt .name , func (t * testing.T ) {
171
171
t .Parallel ()
172
172
spec := tt .spec
173
- policyName := uniqueResourceName (testResourceName )
173
+ resourceName := uniqueResourceName (testResourceName )
174
174
175
175
nginxProxy := & ngfAPIv1alpha2.NginxProxy {
176
176
ObjectMeta : controllerruntime.ObjectMeta {
177
- Name : policyName ,
177
+ Name : resourceName ,
178
178
Namespace : defaultNamespace ,
179
179
},
180
180
Spec : spec ,
0 commit comments