Skip to content

Commit 16a968a

Browse files
No-op when the pods are not ready (#2)
No-op when the pods are not ready instead of proceeding tested in integration test cluster
2 parents a3e6cb4 + b206582 commit 16a968a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ func (c *controller) sync(ctx context.Context) {
580580

581581
if err := c.waitForPod(ctx, podName); err != nil {
582582
level.Warn(c.logger).Log("msg", "failed polling until pod is ready", "pod", podName, "duration", time.Since(start), "err", err)
583-
continue
583+
return
584584
}
585585

586586
level.Debug(c.logger).Log("msg", "waited until new pod was ready", "pod", podName, "duration", time.Since(start))

0 commit comments

Comments
 (0)