1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00
This commit is contained in:
Fadi Abbud 2022-02-07 13:23:09 +01:00
parent e8cbab2c29
commit c43d690b57

View file

@ -129,7 +129,7 @@ func (c *controller) tlpParam(r *http.Request) (tlp, error) {
return "", fmt.Errorf("unsupported TLP type '%s'", t) return "", fmt.Errorf("unsupported TLP type '%s'", t)
} }
// creates calls the "ensureFolders" functions to create the directories and files. // create calls the "ensureFolders" functions to create the directories and files.
// It returns a struct by success, otherwise an error. // It returns a struct by success, otherwise an error.
func (c *controller) create(*http.Request) (interface{}, error) { func (c *controller) create(*http.Request) (interface{}, error) {
if err := ensureFolders(c.cfg); err != nil { if err := ensureFolders(c.cfg); err != nil {