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 Mar 27, 2019
1 parent 5109847 commit 9510786
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
15 changes: 9 additions & 6 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 @@ -265,3 +265,7 @@
[[constraint]]
name = "github.com/go-logfmt/logfmt"
version = "0.4.0"

[[constraint]]
branch = "master"
name = "github.com/ghodss/yaml"
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 9510786

Please sign in to comment.