1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-14 20:56:42 +00:00

Switch to sigs.k8s.io/yaml

Replace github.com/ghodss/yaml.
This commit is contained in:
Markus Lehtonen 2020-04-22 09:59:01 +03:00
parent 6d1aa73ca1
commit 409dc11389
3 changed files with 3 additions and 3 deletions

2
go.mod
View file

@ -6,7 +6,6 @@ require (
github.com/docker/distribution v2.7.1+incompatible
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
github.com/evanphx/json-patch v4.2.0+incompatible
github.com/ghodss/yaml v1.0.0
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d
github.com/golang/protobuf v1.3.2
github.com/klauspost/cpuid v1.2.3
@ -28,6 +27,7 @@ require (
k8s.io/kube-aggregator v0.0.0
k8s.io/kubernetes v1.17.2
k8s.io/utils v0.0.0-20191114184206-e782cd3c129f
sigs.k8s.io/yaml v1.1.0
)
// The k8s "sub-"packages do not have 'semver' compatible versions. Thus, we

View file

@ -27,7 +27,6 @@ import (
"strings"
"time"
"github.com/ghodss/yaml"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
@ -47,6 +46,7 @@ import (
"sigs.k8s.io/node-feature-discovery/source/pci"
"sigs.k8s.io/node-feature-discovery/source/storage"
"sigs.k8s.io/node-feature-discovery/source/system"
"sigs.k8s.io/yaml"
)
// package loggers

View file

@ -32,8 +32,8 @@ import (
"k8s.io/kubernetes/test/e2e/framework"
e2elog "k8s.io/kubernetes/test/e2e/framework/log"
e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
"sigs.k8s.io/yaml"
"github.com/ghodss/yaml"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"