Skip to content

Commit

Permalink
remove duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
gracewehner authored Jan 27, 2021
1 parent 768e899 commit 49336fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/inputs/prometheus/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ func (p *Prometheus) cAdvisor(ctx context.Context, client *k8s.Client) error {
tlsConfig.InsecureSkipVerify = true

// The request will be the same each time
nodeIP := os.Getenv("NODE_IP")
podsUrl := fmt.Sprintf("https://%s:10250/pods", nodeIP)
req, err := http.NewRequest("GET", podsUrl, nil)
if err != nil {
Expand Down

0 comments on commit 49336fa

Please sign in to comment.