Skip to content

Commit

Permalink
chore: delete vars not used
Browse files Browse the repository at this point in the history
  • Loading branch information
kongfei605 committed Sep 4, 2024
1 parent 660baef commit 13c39b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion inputs/prometheus/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ type ConsulConfig struct {
Agent string `toml:"agent"`
QueryInterval config.Duration `toml:"query_interval"`
Queries []*ConsulQuery `toml:"query"`
Catalog *api.Catalog `toml:"-"`
}

// One Consul service discovery query
Expand Down
1 change: 0 additions & 1 deletion inputs/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ func (p *Prometheus) Drop() {
}

func (ins *Instance) Gather(slist *types.SampleList) {
var ctx context.Context
urlwg := new(sync.WaitGroup)
defer urlwg.Wait()

Expand Down

0 comments on commit 13c39b5

Please sign in to comment.