Skip to content

Commit

Permalink
TestUpdateStatefulSet updated
Browse files Browse the repository at this point in the history
  • Loading branch information
k3mahesh committed Apr 8, 2024
1 parent 928e521 commit d52ce6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions k8sutils/statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"github.com/stretchr/testify/assert"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
k8sClientFake "k8s.io/client-go/kubernetes/fake"
"k8s.io/utils/ptr"
Expand Down Expand Up @@ -338,7 +337,7 @@ func TestUpdateStatefulSet(t *testing.T) {
{
name: "Update StatefulSet without recreate StatefulSet",
existingStsSpec: appsv1.StatefulSetSpec{
Template: v1.PodTemplateSpec{
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Labels: map[string]string{
"name": "redis",
Expand All @@ -347,7 +346,7 @@ func TestUpdateStatefulSet(t *testing.T) {
},
},
updatedStsSpec: appsv1.StatefulSetSpec{
Template: v1.PodTemplateSpec{
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Labels: map[string]string{
"name": "redis-standalone",
Expand Down

0 comments on commit d52ce6c

Please sign in to comment.