cve: Fix typos in <cve> accessor.
* guix/cve.scm (<cve>)[references]: Rename accessor to 'cve-references' and fix adjust exported name accordingly.master
parent
a7696b9733
commit
a055604e6f
|
@ -45,7 +45,7 @@
|
||||||
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 @@
|
||||||
"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?
|
||||||
|
|
Reference in New Issue