mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
Fix parent pipeline number env on restarts (#3683)
This commit is contained in:
parent
26faa2bef3
commit
8b785be645
@ -64,7 +64,7 @@ func Restart(ctx context.Context, store store.Store, lastPipeline *model.Pipelin
|
||||
}
|
||||
|
||||
newPipeline := createNewOutOfOld(lastPipeline)
|
||||
newPipeline.Parent = lastPipeline.ID
|
||||
newPipeline.Parent = lastPipeline.Number
|
||||
|
||||
err = store.CreatePipeline(newPipeline)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user