Skip to content

Commit

Permalink
Use github.com/ghodss/yaml to parse k8s config (influxdata#5642)
Browse files Browse the repository at this point in the history
  • Loading branch information
liispon committed Apr 2, 2019
1 parent 7822803 commit b78badf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,10 @@
name = "github.com/go-logfmt/logfmt"
version = "0.4.0"

[[constraint]]
branch = "master"
name = "github.com/ghodss/yaml"

[[override]]
name = "golang.org/x/crypto"
source = "https://github.com/golang/crypto.git"
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/prometheus/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/ericchiang/k8s"
corev1 "github.com/ericchiang/k8s/apis/core/v1"
"gopkg.in/yaml.v2"
"github.com/ghodss/yaml"
)

type payload struct {
Expand Down

0 comments on commit b78badf

Please sign in to comment.