From b004a4b6882cf9a8f2b2d248bcf67cb9e0c2c4fc Mon Sep 17 00:00:00 2001 From: Lucas Moura Date: Tue, 8 Oct 2024 11:02:00 -0300 Subject: [PATCH] api: fix typo on cve vulnerabilities function --- uaclient/api/u/pro/security/vulnerabilities/cve/v1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uaclient/api/u/pro/security/vulnerabilities/cve/v1.py b/uaclient/api/u/pro/security/vulnerabilities/cve/v1.py index ac9574ccac..69dee646cf 100644 --- a/uaclient/api/u/pro/security/vulnerabilities/cve/v1.py +++ b/uaclient/api/u/pro/security/vulnerabilities/cve/v1.py @@ -342,7 +342,7 @@ def vulnerabilities( return _vulnerabilities(options, UAConfig()) -def _parse_vulnerbiliries( +def _parse_vulnerabilities( options: CVEVulnerabilitiesOptions, cve_vulnerabilities: Dict[str, Any], vulnerability_data_published_at: str, @@ -446,7 +446,7 @@ def _vulnerabilities( "vulnerabilities", {} ) - return _parse_vulnerbiliries( + return _parse_vulnerabilities( options=options, cve_vulnerabilities=cve_vulnerabilities, vulnerability_data_published_at=cve_vulnerabilities_result.vulnerability_data_published_at, # noqa @@ -480,7 +480,7 @@ def _vulnerabilities_with_applied_fixes_count( ) return ( - _parse_vulnerbiliries( + _parse_vulnerabilities( options=options, cve_vulnerabilities=cve_vulnerabilities, vulnerability_data_published_at=cve_vulnerabilities_result.vulnerability_data_published_at, # noqa