Skip to content

Commit

Permalink
remove unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
zak-pawel committed Oct 29, 2024
1 parent 924f12c commit f3c5fe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/inputs/jenkins/jenkins.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ func (j *Jenkins) gatherJobs(acc telegraf.Accumulator) {
go func(name string, wg *sync.WaitGroup, acc telegraf.Accumulator) {
defer wg.Done()
if err := j.getJobDetail(jobRequest{
name: name,
//parents: make([]string, 0),
name: name,
layer: 0,
}, acc); err != nil {
acc.AddError(err)
Expand Down

0 comments on commit f3c5fe1

Please sign in to comment.