aboutsummaryrefslogtreecommitdiff
path: root/internal/cvss/v2vector.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cvss/v2vector.go')
-rw-r--r--internal/cvss/v2vector.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cvss/v2vector.go b/internal/cvss/v2vector.go
index efa2444..909bca6 100644
--- a/internal/cvss/v2vector.go
+++ b/internal/cvss/v2vector.go
@@ -47,7 +47,7 @@ func newV2Vector(s string) (Vector, error) {
// walk metric strings
for i, ms := range(strs) {
// convert string to vector
- m, err := getV2MetricFromString(ms)
+ m, err := getV2Metric(ms)
if err != nil {
return nil, err
}