mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
parent
c664d86566
commit
f86c2b7d0f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ func NewForge(timeout time.Duration) Service {
|
|||
func (f *forgeFetcher) Fetch(ctx context.Context, forge forge.Forge, user *model.User, repo *model.Repo, pipeline *model.Pipeline, oldConfigData []*types.FileMeta, restart bool) (files []*types.FileMeta, err error) {
|
||||
// skip fetching if we are restarting and have the old config
|
||||
if restart && len(oldConfigData) > 0 {
|
||||
return
|
||||
return oldConfigData, nil
|
||||
}
|
||||
|
||||
ffc := &forgeFetcherContext{
|
||||
|
|
Loading…
Reference in a new issue