Skip to content

Commit

Permalink
added-all
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Jan 29, 2024
1 parent 43d4096 commit e45f4a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/controller/statefulset/stateful_set_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ func newStatefulSetWithVolumes(replicas int32, name string, petMounts []v1.Volum
})
}

template := v1.PodTemplateSpec{
template := api.PodTemplateSpec{
Spec: v1.PodSpec{
Containers: []v1.Container{
{
Expand Down Expand Up @@ -908,8 +908,8 @@ func newStatefulSetWithLabels(replicas int32, name string, uid types.UID, labels
WhenScaled: apps.RetainPersistentVolumeClaimRetentionPolicyType,
WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType,
},
Template: v1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Template: api.PodTemplateSpec{
ObjectMeta: api.ObjectMeta{
Labels: labels,
},
Spec: v1.PodSpec{
Expand Down

0 comments on commit e45f4a5

Please sign in to comment.