diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-07 12:19:10 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-07 12:19:10 -0500 |
commit | b5bf40450de4d4aaf13225a9d245e33c8af7db70 (patch) | |
tree | 5f448612a62378815de3dca07322a3b96fcba271 /cvss/v2vector.go | |
parent | e24e6af76a1dcd64889f47e3fae03d7c3fa6f7a3 (diff) | |
download | cvez-b5bf40450de4d4aaf13225a9d245e33c8af7db70.tar.bz2 cvez-b5bf40450de4d4aaf13225a9d245e33c8af7db70.zip |
s/v2Scores/Scores/
Diffstat (limited to 'cvss/v2vector.go')
-rw-r--r-- | cvss/v2vector.go | 4 |
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. |