aboutsummaryrefslogtreecommitdiff
path: root/cvss/v2vector.go
diff options
context:
space:
mode:
Diffstat (limited to 'cvss/v2vector.go')
-rw-r--r--cvss/v2vector.go4
1 files changed, 2 insertions, 2 deletions
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.