@@ -63,7 +63,7 @@ func TestSameService(t *testing.T) {
6363 v1 .ServiceTypeLoadBalancer ,
6464 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
6565 match : false ,
66- reason : `new service's type "LoadBalancer" doesn't match the current one "ClusterIP"` ,
66+ reason : `new service's type "LoadBalancer" does not match the current one "ClusterIP"` ,
6767 },
6868 {
6969 about : "services differ on lb source ranges" ,
@@ -82,7 +82,7 @@ func TestSameService(t *testing.T) {
8282 v1 .ServiceTypeLoadBalancer ,
8383 []string {"185.249.56.0/22" }),
8484 match : false ,
85- reason : `new service's LoadBalancerSourceRange doesn't match the current one` ,
85+ reason : `new service's LoadBalancerSourceRange does not match the current one` ,
8686 },
8787 {
8888 about : "new service doesn't have lb source ranges" ,
@@ -101,7 +101,7 @@ func TestSameService(t *testing.T) {
101101 v1 .ServiceTypeLoadBalancer ,
102102 []string {}),
103103 match : false ,
104- reason : `new service's LoadBalancerSourceRange doesn't match the current one` ,
104+ reason : `new service's LoadBalancerSourceRange does not match the current one` ,
105105 },
106106 {
107107 about : "services differ on DNS annotation" ,
@@ -120,7 +120,7 @@ func TestSameService(t *testing.T) {
120120 v1 .ServiceTypeLoadBalancer ,
121121 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
122122 match : false ,
123- reason : `new service's annotations doesn't match the current one: 'external-dns.alpha.kubernetes.io/hostname' changed from 'clstr.acid.zalan.do' to 'new_clstr.acid.zalan.do'.` ,
123+ reason : `new service's annotations does not match the current one: 'external-dns.alpha.kubernetes.io/hostname' changed from 'clstr.acid.zalan.do' to 'new_clstr.acid.zalan.do'.` ,
124124 },
125125 {
126126 about : "services differ on AWS ELB annotation" ,
@@ -139,7 +139,7 @@ func TestSameService(t *testing.T) {
139139 v1 .ServiceTypeLoadBalancer ,
140140 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
141141 match : false ,
142- reason : `new service's annotations doesn't match the current one: 'service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout' changed from '3600' to '1800'.` ,
142+ reason : `new service's annotations does not match the current one: 'service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout' changed from '3600' to '1800'.` ,
143143 },
144144 {
145145 about : "service changes existing annotation" ,
@@ -160,7 +160,7 @@ func TestSameService(t *testing.T) {
160160 v1 .ServiceTypeLoadBalancer ,
161161 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
162162 match : false ,
163- reason : `new service's annotations doesn't match the current one: 'foo' changed from 'bar' to 'baz'.` ,
163+ reason : `new service's annotations does not match the current one: 'foo' changed from 'bar' to 'baz'.` ,
164164 },
165165 {
166166 about : "service changes multiple existing annotations" ,
@@ -184,7 +184,7 @@ func TestSameService(t *testing.T) {
184184 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
185185 match : false ,
186186 // Test just the prefix to avoid flakiness and map sorting
187- reason : `new service's annotations doesn't match the current one:` ,
187+ reason : `new service's annotations does not match the current one:` ,
188188 },
189189 {
190190 about : "service adds a new custom annotation" ,
@@ -204,7 +204,7 @@ func TestSameService(t *testing.T) {
204204 v1 .ServiceTypeLoadBalancer ,
205205 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
206206 match : false ,
207- reason : `new service's annotations doesn't match the current one: Added 'foo' with value 'bar'.` ,
207+ reason : `new service's annotations does not match the current one: Added 'foo' with value 'bar'.` ,
208208 },
209209 {
210210 about : "service removes a custom annotation" ,
@@ -224,7 +224,7 @@ func TestSameService(t *testing.T) {
224224 v1 .ServiceTypeLoadBalancer ,
225225 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
226226 match : false ,
227- reason : `new service's annotations doesn't match the current one: Removed 'foo'.` ,
227+ reason : `new service's annotations does not match the current one: Removed 'foo'.` ,
228228 },
229229 {
230230 about : "service removes a custom annotation and adds a new one" ,
@@ -245,7 +245,7 @@ func TestSameService(t *testing.T) {
245245 v1 .ServiceTypeLoadBalancer ,
246246 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
247247 match : false ,
248- reason : `new service's annotations doesn't match the current one: Removed 'foo'. Added 'bar' with value 'foo'.` ,
248+ reason : `new service's annotations does not match the current one: Removed 'foo'. Added 'bar' with value 'foo'.` ,
249249 },
250250 {
251251 about : "service removes a custom annotation, adds a new one and change another" ,
@@ -269,7 +269,7 @@ func TestSameService(t *testing.T) {
269269 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
270270 match : false ,
271271 // Test just the prefix to avoid flakiness and map sorting
272- reason : `new service's annotations doesn't match the current one: Removed 'foo'.` ,
272+ reason : `new service's annotations does not match the current one: Removed 'foo'.` ,
273273 },
274274 {
275275 about : "service add annotations" ,
@@ -286,7 +286,7 @@ func TestSameService(t *testing.T) {
286286 []string {"128.141.0.0/16" , "137.138.0.0/16" }),
287287 match : false ,
288288 // Test just the prefix to avoid flakiness and map sorting
289- reason : `new service's annotations doesn't match the current one: Added ` ,
289+ reason : `new service's annotations does not match the current one: Added ` ,
290290 },
291291 }
292292 for _ , tt := range tests {
0 commit comments