Skip to content

Commit 266d1c8

Browse files
committed
linter
1 parent 51883d5 commit 266d1c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/e2e_node/container_lifecycle_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ var _ = SIGDescribe(framework.WithNodeConformance(), "Containers Lifecycle", fun
11321132
podSpec, err := client.Get(ctx, podSpec.Name, metav1.GetOptions{})
11331133
framework.ExpectNoError(err)
11341134

1135-
//subtract a buffer so that the pod still exists
1135+
// subtract a buffer so that the pod still exists
11361136
gomega.Consistently(ctx, func() bool {
11371137
podSpec, err = client.Get(ctx, podSpec.Name, metav1.GetOptions{})
11381138
framework.ExpectNoError(err)
@@ -1911,7 +1911,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
19111911
})
19121912
})
19131913

1914-
//Same as restartPolicy=Always
1914+
// Same as restartPolicy=Always
19151915
ginkgo.It("Should begin initializing the pod, restartPolicy=OnFailure", func(ctx context.Context) {
19161916
originalPodSpec.Spec.RestartPolicy = v1.RestartPolicyOnFailure
19171917
originalPodSpec.Name = "restartable-init-container-initialization-imgupdate-onfailure"
@@ -2015,7 +2015,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
20152015
framework.ExpectNoError(err)
20162016
})
20172017

2018-
//Init containers don't restart when restartPolicy=Never
2018+
// Init containers don't restart when restartPolicy=Never
20192019
ginkgo.By("Waiting for the pod to fail", func() {
20202020
err := e2epod.WaitForPodTerminatedInNamespace(ctx, f.ClientSet, pod.Name, "", pod.Namespace)
20212021
framework.ExpectNoError(err)
@@ -4250,8 +4250,8 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
42504250
pod.Spec.InitContainers[1].Image = updatedImage
42514251
})
42524252

4253-
//TODO verify this is the intended behavior
4254-
//during termination of the regular and last restartable init container
4253+
// FIXME Consistently: this will be implemented in KEP 4438
4254+
// During termination of the regular and last restartable init container
42554255
ginkgo.By("ensuring the restartable init container does not restart during termination", func() {
42564256
gomega.Consistently(ctx, func() bool {
42574257
pod, err = client.Get(ctx, pod.Name, metav1.GetOptions{})

0 commit comments

Comments
 (0)