Fix pipeline used for status reporting (#1758)

This commit is contained in:
qwerty287 2023-05-14 16:12:48 +02:00 committed by GitHub
parent a15821428f
commit 3605979df0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ func Cancel(ctx context.Context, store store.Store, repo *model.Repo, user *mode
return err
}
updatePipelineStatus(ctx, pipeline, repo, user)
updatePipelineStatus(ctx, killedPipeline, repo, user)
steps, err = store.StepList(killedPipeline)
if err != nil {