We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db78e20 commit 9726f21Copy full SHA for 9726f21
pkg/template/controller/readiness.go
@@ -29,10 +29,10 @@ import (
29
func checkBuildReadiness(obj runtime.Object) (bool, bool, error) {
30
b := obj.(*buildapi.Build)
31
32
- ready := buildutil.IsTerminalPhase(b.Status.Phase) &&
+ ready := buildapi.IsInternalTerminalPhase(b.Status.Phase) &&
33
b.Status.Phase == buildapi.BuildPhaseComplete
34
35
- failed := buildutil.IsTerminalPhase(b.Status.Phase) &&
+ failed := buildapi.IsInternalTerminalPhase(b.Status.Phase) &&
36
b.Status.Phase != buildapi.BuildPhaseComplete
37
38
return ready, failed, nil
0 commit comments