From b5bf40450de4d4aaf13225a9d245e33c8af7db70 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 7 Feb 2022 12:19:10 -0500 Subject: s/v2Scores/Scores/ --- cvss/v2vector.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cvss/v2vector.go') diff --git a/cvss/v2vector.go b/cvss/v2vector.go index 14a4afb..e015544 100644 --- a/cvss/v2vector.go +++ b/cvss/v2vector.go @@ -42,8 +42,8 @@ func (v v2Vector) Metrics() []Metric { } // Return numerical scores for this vector. -func (v v2Vector) Scores() (v2Scores, error) { - return newV2Scores(v) +func (v v2Vector) Scores() (Scores, error) { + return newScoresFromV2Vector(v) } // Create CVSS 2.0 vector from string. -- cgit v1.2.3