mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Partially role back last commit. WIP
This commit is contained in:
parent
c69709c1ec
commit
6295466ef5
1 changed files with 2 additions and 2 deletions
|
|
@ -144,7 +144,7 @@ func (w *worker) writeROLIE(label string, summaries []summary) error {
|
||||||
fname := "csaf-feed-tlp-" + labelFolder + ".json"
|
fname := "csaf-feed-tlp-" + labelFolder + ".json"
|
||||||
|
|
||||||
feedURL := w.cfg.Domain + "/.well-known/csaf-aggregator/" +
|
feedURL := w.cfg.Domain + "/.well-known/csaf-aggregator/" +
|
||||||
w.provider.Name + "/" + labelFolder + "/" + fname
|
w.provider.Name + "/" + fname
|
||||||
|
|
||||||
entries := make([]*csaf.Entry, len(summaries))
|
entries := make([]*csaf.Entry, len(summaries))
|
||||||
|
|
||||||
|
|
@ -199,7 +199,7 @@ func (w *worker) writeROLIE(label string, summaries []summary) error {
|
||||||
// Sort by descending updated order.
|
// Sort by descending updated order.
|
||||||
rolie.SortEntriesByUpdated()
|
rolie.SortEntriesByUpdated()
|
||||||
|
|
||||||
path := filepath.Join(w.dir, labelFolder, fname)
|
path := filepath.Join(w.dir, fname)
|
||||||
return util.WriteToFile(path, rolie)
|
return util.WriteToFile(path, rolie)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue