Skip to content

Commit 16c1422

Browse files
committed
Fix continuous pipelines wait
1 parent c7ff746 commit 16c1422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compute/resource_pipeline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func (a pipelinesAPI) waitForState(id string, timeout time.Duration, desiredStat
183183
if state == StateFailed {
184184
return resource.NonRetryableError(fmt.Errorf("pipeline %s has failed", id))
185185
}
186-
if i.Spec.Continuous {
186+
if !i.Spec.Continuous {
187187
// continuous pipelines just need a non-FAILED check
188188
return nil
189189
}

0 commit comments

Comments
 (0)