mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
cve: Fix typos in <cve> accessor.
* guix/cve.scm (<cve>)[references]: Rename accessor to 'cve-references' and fix adjust exported name accordingly.
This commit is contained in:
parent
a7696b9733
commit
a055604e6f
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ (define-module (guix cve)
|
||||||
cve-id
|
cve-id
|
||||||
cve-data-type
|
cve-data-type
|
||||||
cve-data-format
|
cve-data-format
|
||||||
cvs-references
|
cve-references
|
||||||
|
|
||||||
cve-reference?
|
cve-reference?
|
||||||
cve-reference-url
|
cve-reference-url
|
||||||
|
@ -88,7 +88,7 @@ (define-json-mapping <cve> cve cve?
|
||||||
"data_type" string->symbol)
|
"data_type" string->symbol)
|
||||||
(data-format cve-data-format ;'MITRE
|
(data-format cve-data-format ;'MITRE
|
||||||
"data_format" string->symbol)
|
"data_format" string->symbol)
|
||||||
(references cve-item-references ;list of <cve-reference>
|
(references cve-references ;list of <cve-reference>
|
||||||
"references" reference-data->cve-references))
|
"references" reference-data->cve-references))
|
||||||
|
|
||||||
(define-json-mapping <cve-reference> cve-reference cve-reference?
|
(define-json-mapping <cve-reference> cve-reference cve-reference?
|
||||||
|
|
Loading…
Reference in a new issue