Skip to content

Commit

Permalink
fix(fetcher/ubuntu): temporarily use vuln-list-reserve (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n authored Jul 31, 2023
1 parent 37669d2 commit f914b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fetcher/ubuntu.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ import (
)

const (
ubuntuRepoURL = "https://github.com/aquasecurity/vuln-list.git"
ubuntuRepoURL = "https://github.com/aquasecurity/vuln-list-reserve.git"
ubuntuDir = "ubuntu"
)

// FetchUbuntuVulnList clones vuln-list and returns CVE JSONs
func FetchUbuntuVulnList() (entries []models.UbuntuCVEJSON, err error) {
// Clone vuln-list repository
dir := filepath.Join(util.CacheDir(), "vuln-list")
dir := filepath.Join(util.CacheDir(), "vuln-list-reserve")
updatedFiles, err := git.CloneOrPull(ubuntuRepoURL, dir, ubuntuDir)
if err != nil {
return nil, xerrors.Errorf("error in vulnsrc clone or pull: %w", err)
Expand Down

0 comments on commit f914b23

Please sign in to comment.