Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: pingjiang <xiangpingjiang1998@gmail.com>
  • Loading branch information
xiangpingjiang committed Jul 28, 2023
1 parent 2babf9f commit 370b32b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/control/sidecarcontrol/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func TestUpdatePodSidecarSetHashState(t *testing.T) {
exceptWithoutImageRevision map[string]SidecarSetUpgradeSpec
}{
{
name: "sidecarConatiner inplaceUpdate, not ready",
name: "sidecarContainer inplaceUpdate, not ready",
getPod: func() *corev1.Pod {
pod := podDemo.DeepCopy()
pod.Annotations[SidecarSetHashAnnotation] = `{"test-sidecarset":{"hash":"aaa"}}`
Expand All @@ -479,7 +479,7 @@ func TestUpdatePodSidecarSetHashState(t *testing.T) {
},
},
{
name: "sidecarConatiner inplaceUpdate, not ready",
name: "sidecarContainer inplaceUpdate, ready",
getPod: func() *corev1.Pod {
pod := podDemo.DeepCopy()
pod.Annotations[SidecarSetHashAnnotation] = `{"test-sidecarset":{"hash":"aaa"}}`
Expand All @@ -502,7 +502,7 @@ func TestUpdatePodSidecarSetHashState(t *testing.T) {
},
},
{
name: "create pod, sidecarConatiner not ready",
name: "create pod, sidecarContainer not ready",
getPod: func() *corev1.Pod {
pod := podDemo.DeepCopy()
pod.Annotations[SidecarSetHashAnnotation] = `{"test-sidecarset":{"hash":"aaa"}}`
Expand All @@ -525,7 +525,7 @@ func TestUpdatePodSidecarSetHashState(t *testing.T) {
},
},
{
name: "create pod, sidecarConatiner ready",
name: "create pod, sidecarContainer ready",
getPod: func() *corev1.Pod {
pod := podDemo.DeepCopy()
pod.Annotations[SidecarSetHashAnnotation] = `{"test-sidecarset":{"hash":"aaa"}}`
Expand Down

0 comments on commit 370b32b

Please sign in to comment.