提交 0796be82 编写于 作者: T Thomas Stromberg

Make log message friendlier

上级 5ac8aef3
...@@ -227,7 +227,7 @@ func PodWait(ctx context.Context, t *testing.T, profile string, ns string, selec ...@@ -227,7 +227,7 @@ func PodWait(ctx context.Context, t *testing.T, profile string, ns string, selec
f := func() (bool, error) { f := func() (bool, error) {
pods, err := client.CoreV1().Pods(ns).List(listOpts) pods, err := client.CoreV1().Pods(ns).List(listOpts)
if err != nil { if err != nil {
t.Logf("WARNING: Pod(%s).List(%v) returned error: %v", ns, selector, err) t.Logf("WARNING: pod list for %q %q returned: %v", ns, selector, err)
return false, err return false, err
} }
if len(pods.Items) == 0 { if len(pods.Items) == 0 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册