Fix parent pipeline number env on restarts (#3683)

This commit is contained in:
qwerty287 2024-05-06 11:47:02 +02:00 committed by GitHub
parent 26faa2bef3
commit 8b785be645
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {