mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
fix: db diff default has flipped base/target url (#845)
This commit is contained in:
parent
a6ec8f11be
commit
d5ff4ef9dc
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ func getDefaultURL() (defaultURL []*url.URL, err error) {
|
|||
|
||||
recent := available[:2]
|
||||
for _, entry := range recent {
|
||||
defaultURL = append(defaultURL, entry.URL)
|
||||
defaultURL = append([]*url.URL{entry.URL}, defaultURL...)
|
||||
}
|
||||
|
||||
return defaultURL, nil
|
||||
|
|
Loading…
Reference in a new issue