diff --git a/cmd/csaf_provider/actions.go b/cmd/csaf_provider/actions.go index 1e46c2d..137283a 100644 --- a/cmd/csaf_provider/actions.go +++ b/cmd/csaf_provider/actions.go @@ -3,8 +3,8 @@ // // SPDX-License-Identifier: MIT // -// SPDX-FileCopyrightText: 2021 German Federal Office for Information Security (BSI) -// Software-Engineering: 2021 Intevation GmbH +// SPDX-FileCopyrightText: 2022 German Federal Office for Information Security (BSI) +// Software-Engineering: 2022 Intevation GmbH package main @@ -155,7 +155,7 @@ func (c *controller) upload(r *http.Request) (interface{}, error) { return nil, err } - // Validate againt JSON schema. + // Validate against JSON schema. if !c.cfg.NoValidation { validationErrors, err := csaf.ValidateCSAF(content) if err != nil { @@ -167,7 +167,7 @@ func (c *controller) upload(r *http.Request) (interface{}, error) { } } - // Validate against remote validator + // Validate against remote validator. if c.cfg.RemoteValidator != nil { validator, err := c.cfg.RemoteValidator.Open() if err != nil {