aboutsummaryrefslogtreecommitdiff
path: root/internal/cvss/v2metric.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cvss/v2metric.go')
-rw-r--r--internal/cvss/v2metric.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cvss/v2metric.go b/internal/cvss/v2metric.go
index de8b52b..a80cf8a 100644
--- a/internal/cvss/v2metric.go
+++ b/internal/cvss/v2metric.go
@@ -223,7 +223,7 @@ var v2MetricStrLut = map[string]v2Metric {
}
// Convert string to CVSS 2.0 metric.
-func getV2MetricFromString(s string) (v2Metric, error) {
+func getV2Metric(s string) (v2Metric, error) {
// get metric
m, ok := v2MetricStrLut[s]
if !ok {