1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Fix golint warnings.

This commit is contained in:
Sascha L. Teichmann 2021-11-25 18:21:23 +01:00
parent 6b05323271
commit 04fb8f7e75
6 changed files with 122 additions and 49 deletions

View file

@ -248,7 +248,7 @@ func (c *controller) upload(rw http.ResponseWriter, r *http.Request) {
return err
}
feedURL := csaf.JsonURL(
feedURL := csaf.JSONURL(
c.cfg.Domain + "/.well-known/csaf/" + ts + "/" + feedName)
tlpLabel := csaf.TLPLabel(strings.ToUpper(ts))