Skip to content

Commit

Permalink
Correct message of Pipelinerun when timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pli authored and tekton-robot committed Feb 10, 2020
1 parent 21de79a commit 1523239
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func GetPipelineConditionStatus(pr *v1alpha1.PipelineRun, state PipelineRunState
Type: apis.ConditionSucceeded,
Status: corev1.ConditionFalse,
Reason: ReasonTimedOut,
Message: fmt.Sprintf("PipelineRun %q failed to finish within %q", pr.Name, pr.Spec.Timeout.String()),
Message: fmt.Sprintf("PipelineRun %q failed to finish within %q", pr.Name, pr.Spec.Timeout.Duration.String()),
}
}

Expand Down

0 comments on commit 1523239

Please sign in to comment.