Skip to content

Commit c56f517

Browse files
committed
Make linter happy
Signed-off-by: Nick Fox <[email protected]>
1 parent b0b5f73 commit c56f517

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/e2e/multicluster/multicluster_primaryremote_test.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ spec:
335335
g.Expect(clPrimary.List(ctx, samplePods, client.InNamespace("sample"))).To(Succeed())
336336
for _, pod := range samplePods.Items {
337337
g.Expect(pod.DeletionTimestamp).To(BeNil())
338-
g.Expect(pod).Should(HaveCondition(corev1.PodReady, metav1.ConditionTrue), "Pod is not Ready in sample namespace; unexpected Condition")
339-
g.Expect(pod.Annotations["istio.io/rev"]).Should(Equal(istio.Status.ActiveRevisionName))
338+
g.Expect(pod).To(HaveCondition(corev1.PodReady, metav1.ConditionTrue), "Pod is not Ready in sample namespace; unexpected Condition")
339+
g.Expect(pod.Annotations["istio.io/rev"]).To(Equal(istio.Status.ActiveRevisionName))
340340
}
341341
}).Should(Succeed())
342342

@@ -346,14 +346,15 @@ spec:
346346
istio.Status.ActiveRevisionName,
347347
)
348348
Log("Patch", patch)
349-
Expect(k1.WithNamespace(controlPlaneNamespace).Patch("deployments", "istio-eastwestgateway", "merge", patch)).To(Succeed(), "Error patching istio-eastwestgateway deployment")
349+
Expect(k1.WithNamespace(controlPlaneNamespace).Patch("deployments", "istio-eastwestgateway", "merge", patch)).
350+
To(Succeed(), "Error patching istio-eastwestgateway deployment")
350351
Eventually(func(g Gomega) {
351352
gatewayPods := &corev1.PodList{}
352353
g.Expect(clPrimary.List(ctx, gatewayPods, client.InNamespace(controlPlaneNamespace), client.MatchingLabels{"istio": "eastwestgateway"})).To(Succeed())
353354
for _, pod := range gatewayPods.Items {
354355
g.Expect(pod.DeletionTimestamp).To(BeNil())
355-
g.Expect(pod).Should(HaveCondition(corev1.PodReady, metav1.ConditionTrue), "Pod is not Ready in sample namespace; unexpected Condition")
356-
g.Expect(pod.Annotations["istio.io/rev"]).Should(Equal(istio.Status.ActiveRevisionName))
356+
g.Expect(pod).To(HaveCondition(corev1.PodReady, metav1.ConditionTrue), "Pod is not Ready in sample namespace; unexpected Condition")
357+
g.Expect(pod.Annotations["istio.io/rev"]).To(Equal(istio.Status.ActiveRevisionName))
357358
}
358359
}).Should(Succeed())
359360
})

0 commit comments

Comments
 (0)