summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-07-09 23:00:58 +0200
committerLudovic Courtès <ludo@gnu.org>2020-07-10 00:11:00 +0200
commita055604e6f65ee7085a5c1cecaea59ccc0f5acf5 (patch)
tree6a6a5ce350856158e16029a2332fc5d07c0db2aa
parenta7696b9733d4ede9817a0a0accb5ce5b85d9a2d3 (diff)
downloadguix-a055604e6f65ee7085a5c1cecaea59ccc0f5acf5.tar.gz
cve: Fix typos in <cve> accessor.
* guix/cve.scm (<cve>)[references]: Rename accessor to 'cve-references'
and fix adjust exported name accordingly.
-rw-r--r--guix/cve.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/cve.scm b/guix/cve.scm
index 903d94a8a6..7dd9005f09 100644
--- a/guix/cve.scm
+++ b/guix/cve.scm
@@ -45,7 +45,7 @@
             cve-id
             cve-data-type
             cve-data-format
-            cvs-references
+            cve-references
 
             cve-reference?
             cve-reference-url
@@ -88,7 +88,7 @@
                   "data_type" string->symbol)
   (data-format    cve-data-format                 ;'MITRE
                   "data_format" string->symbol)
-  (references     cve-item-references             ;list of <cve-reference>
+  (references     cve-references                  ;list of <cve-reference>
                   "references" reference-data->cve-references))
 
 (define-json-mapping <cve-reference> cve-reference cve-reference?