Skip to content

Commit 577312f

Browse files
author
smothiki
committed
feat(race): waitforpod errors out only for timeout
1 parent f51d3a2 commit 577312f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/k8s_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func waitForPodCondition(c *client.Client, ns, podName string, condition func(po
183183
pod, err := c.Pods(ns).Get(podName)
184184
if err != nil {
185185
if apierrs.IsNotFound(err) {
186-
return true, err
186+
return false, nil
187187
}
188188
}
189189

0 commit comments

Comments
 (0)