1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

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 {