mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-24 05:36:36 +00:00
Update gopkg.in/yaml_v2 to yaml_v3
Previous version was vulnerable to CVE-2022-28948 Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
@@ -19,7 +19,7 @@ import (
|
||||
|
||||
"github.com/prometheus-community/windows_exporter/log"
|
||||
"gopkg.in/alecthomas/kingpin.v2"
|
||||
"gopkg.in/yaml.v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
type getFlagger interface {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"gopkg.in/yaml.v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
"reflect"
|
||||
"testing"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user