Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 7b2c360

Browse files
authored
Merge pull request #89 from JoshVanL/expose-pod-not-ready
Expose fill pod struct when not ready in time
2 parents 8c93022 + 037e06d commit 7b2c360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/utils/pods.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ func WaitForPodReady(kubeclient *kubernetes.Clientset,
2525
}
2626

2727
if i == 15 {
28-
return fmt.Errorf("pod %s in namespace %s, failed to become ready in time",
29-
name, namespace)
28+
return fmt.Errorf("pod %s/%s failed to become ready in time: %+v",
29+
namespace, name, pod)
3030
}
3131

3232
time.Sleep(time.Second * 5)

0 commit comments

Comments
 (0)