@@ -24,14 +24,14 @@ import (
2424
2525func TestIncrementReloadCountAnnotation (t * testing.T ) {
2626 tests := []struct {
27- name string
28- annotations map [string ]string
29- expectedAnnoation map [string ]string
27+ name string
28+ annotations map [string ]string
29+ expectedAnnotations map [string ]string
3030 }{
3131 {
3232 name : "no annotation should add annotation" ,
3333 annotations : map [string ]string {},
34- expectedAnnoation : map [string ]string {
34+ expectedAnnotations : map [string ]string {
3535 ReloadCountAnnotationName : "1" ,
3636 },
3737 },
@@ -40,7 +40,7 @@ func TestIncrementReloadCountAnnotation(t *testing.T) {
4040 annotations : map [string ]string {
4141 ReloadCountAnnotationName : "1" ,
4242 },
43- expectedAnnoation : map [string ]string {
43+ expectedAnnotations : map [string ]string {
4444 ReloadCountAnnotationName : "2" ,
4545 },
4646 },
@@ -58,7 +58,7 @@ func TestIncrementReloadCountAnnotation(t *testing.T) {
5858
5959 incrementReloadCountAnnotation (podTemplateSpec )
6060
61- assert .Equal (t , ttp .expectedAnnoation , podTemplateSpec .Annotations )
61+ assert .Equal (t , ttp .expectedAnnotations , podTemplateSpec .Annotations )
6262 })
6363 }
6464}
0 commit comments