diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-01-31 22:07:06 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-01-31 22:07:06 -0500 |
commit | abcd9428d9eb6cc8ac0189e6443930a67ebcabda (patch) | |
tree | dbd3a1f78fe900514244588d50bab7d98eebe0ba /internal/cvss/v2metric.go | |
parent | a739c2c0116e3bbe3122ec08b13a38440a3f9b62 (diff) | |
download | cvez-abcd9428d9eb6cc8ac0189e6443930a67ebcabda.tar.bz2 cvez-abcd9428d9eb6cc8ac0189e6443930a67ebcabda.zip |
internal/cvss: add many tests
Diffstat (limited to 'internal/cvss/v2metric.go')
-rw-r--r-- | internal/cvss/v2metric.go | 2 |
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 { |