Skip to content

Commit

Permalink
Merge branch 'master' into os-check
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis authored Aug 27, 2021
2 parents 8131827 + 3241005 commit 413e3e1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkg/repository/v1_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,17 +708,15 @@ func (r *V1Repository) UpdateComponentManifests() error {
for name := range index.Components {
name := name
g.Go(func() error {
_, err = r.updateComponentManifest(name, false)
_, err := r.updateComponentManifest(name, false)
if err != nil && errors.Cause(err) == ErrUnknownComponent {
err = nil
}
return err
})
}

err = g.Wait()
if err != nil && errors.Cause(err) != ErrUnknownComponent {
return err
}

return nil
return err
}

// FetchComponentManifest fetch the component manifest.
Expand Down

0 comments on commit 413e3e1

Please sign in to comment.