We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd8f4a3 commit 55a9ce0Copy full SHA for 55a9ce0
test/extended/builds/remove_buildconfig.go
@@ -47,7 +47,7 @@ var _ = g.Describe("[builds][Conformance] remove all builds when build configura
47
err = wait.Poll(3*time.Second, 3*time.Minute, func() (bool, error) {
48
out, err := oc.Run("get").Args("-o", "name", "builds").Output()
49
o.Expect(err).NotTo(o.HaveOccurred())
50
- if len(out) == 0 {
+ if out == "No resources found." {
51
return true, nil
52
}
53
return false, nil
0 commit comments