Skip to content

Commit 9fd0908

Browse files
mattmoortekton-robot
authored andcommitted
[master] Fix spelling errors
Produced via: `github.com/client9/misspell` /assign ImJasonH vdemeester /cc ImJasonH vdemeester
1 parent 203ff99 commit 9fd0908

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/reconciler/pipelinerun/pipelinerun_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ func TestReconcileCancelledFailsTaskRunCancellation(t *testing.T) {
10341034
tb.PipelineRunSpec("test-pipeline",
10351035
tb.PipelineRunCancelled,
10361036
),
1037-
// The reconciler uses the presense of this TaskRun in the status to determine that a TaskRun
1037+
// The reconciler uses the presence of this TaskRun in the status to determine that a TaskRun
10381038
// is already running. The TaskRun will not be retrieved at all so we do not need to seed one.
10391039
tb.PipelineRunStatus(
10401040
tb.PipelineRunTaskRunsStatus(prName+ptName, &v1alpha1.PipelineRunTaskRunStatus{
@@ -1072,7 +1072,7 @@ func TestReconcileCancelledFailsTaskRunCancellation(t *testing.T) {
10721072
// The PipelineRun should not be cancelled b/c we couldn't cancel the TaskRun
10731073
condition := reconciledRun.Status.GetCondition(apis.ConditionSucceeded)
10741074
if !condition.IsUnknown() {
1075-
t.Errorf("Expected PipelineRun to still be running since the TaskRun could not be cancelled but succeded condition is %v", condition.Status)
1075+
t.Errorf("Expected PipelineRun to still be running since the TaskRun could not be cancelled but succeeded condition is %v", condition.Status)
10761076
}
10771077
if condition.Reason != ReasonCouldntCancel {
10781078
t.Errorf("Expected PipelineRun condition to indicate the cancellation failed but reason was %s", condition.Reason)

pkg/reconciler/taskrun/taskrun.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (c *Reconciler) getTaskResolver(tr *v1beta1.TaskRun) (*resources.LocalTaskR
229229
return resolver, kind
230230
}
231231

232-
// `prepare` fetches resources the taskrun depends on, runs validation and convertion
232+
// `prepare` fetches resources the taskrun depends on, runs validation and conversion
233233
// It may report errors back to Reconcile, it updates the taskrun status in case of
234234
// error but it does not sync updates back to etcd. It does not emit events.
235235
// All errors returned by `prepare` are always handled by `Reconcile`, so they don't cause

0 commit comments

Comments
 (0)