Skip to content

Commit 6eb064b

Browse files
committed
Fix typo
1 parent 51e2b5d commit 6eb064b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/func-util/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func deploy(ctx context.Context) error {
161161

162162
res, err := deployer.Deploy(ctx, f)
163163
if err != nil {
164-
return fmt.Errorf("cannont deploy the function: %w", err)
164+
return fmt.Errorf("cannot deploy the function: %w", err)
165165
}
166166

167167
fmt.Printf("function has been deployed\n%+v\n", res)

pkg/pipelines/tekton/pipelines_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func (pp *PipelinesProvider) Run(ctx context.Context, f fn.Function) (string, fn
228228

229229
newestPipelineRun, err = client.PipelineRuns(namespace).Get(ctx, newestPipelineRun.Name, metav1.GetOptions{})
230230
if err != nil {
231-
return "", f, fmt.Errorf("problem in retriving pipeline run status: %v", err)
231+
return "", f, fmt.Errorf("problem in retrieving pipeline run status: %v", err)
232232
}
233233

234234
if newestPipelineRun.Status.GetCondition(apis.ConditionSucceeded).Status == corev1.ConditionFalse {

0 commit comments

Comments
 (0)