diff options
| author | Yoann Congal <yoann.congal@smile.fr> | 2024-03-17 16:21:50 -1000 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-03-25 04:11:26 -1000 |
| commit | ea0af985cbdc3af9727d6b2e0b8b2527f7de0541 (patch) | |
| tree | 12b08d5fe924b7aebad62fd4ae1e3c20cb4d151b | |
| parent | 0c780cd9c88b11c3ed04173db146bd4b696d58dc (diff) | |
| download | poky-ea0af985cbdc3af9727d6b2e0b8b2527f7de0541.tar.gz | |
cve-update-nvd2-native: nvd_request_next: Improve comment
Add a URL to the doc of the API used in the function.
... and fix a small typo dabase -> database
(From OE-Core rev: a98387021d80b5055a773f909eb685513902fb12)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0157b3b81333a24abd31dbb23a6abebca3e7ba7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-core/meta/cve-update-nvd2-native.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb b/meta/recipes-core/meta/cve-update-nvd2-native.bb index 506b4b6bbf..a703b68aac 100644 --- a/meta/recipes-core/meta/cve-update-nvd2-native.bb +++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb | |||
| @@ -123,7 +123,8 @@ def nvd_request_wait(attempt, min_wait): | |||
| 123 | 123 | ||
| 124 | def nvd_request_next(url, attempts, api_key, args, min_wait): | 124 | def nvd_request_next(url, attempts, api_key, args, min_wait): |
| 125 | """ | 125 | """ |
| 126 | Request next part of the NVD dabase | 126 | Request next part of the NVD database |
| 127 | NVD API documentation: https://nvd.nist.gov/developers/vulnerabilities | ||
| 127 | """ | 128 | """ |
| 128 | 129 | ||
| 129 | import urllib.request | 130 | import urllib.request |
