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

Fix minor typos in code comments

This commit is contained in:
Bernhard Reiter 2022-04-21 15:40:56 +02:00
parent fb61bc349f
commit cbb41588ea
No known key found for this signature in database
GPG key ID: 2B7BA3BF9BC3A554
3 changed files with 6 additions and 5 deletions

View file

@ -826,9 +826,10 @@ func extractProviderURL(r io.Reader) (string, error) {
return "", nil
}
// checkProviderMetadata checks the provider-metatdata if exists, decodes,
// and validates against the JSON schema. According to the result the respective
// error messages are passed to the badProviderMetadatas method in case of errors.
// checkProviderMetadata checks provider-metadata.json. If it exists,
// decodes, and validates against the JSON schema.
// According to the result, the respective error messages are passed
// to the badProviderMetadatas method.
// It returns nil if all checks are passed.
func (p *processor) checkProviderMetadata(domain string) error {