From f3c5fe1978f14490bee25d9a380f2ce24da9519c Mon Sep 17 00:00:00 2001 From: Pawel Zak Date: Tue, 29 Oct 2024 18:01:06 +0100 Subject: [PATCH] remove unnecessary line --- plugins/inputs/jenkins/jenkins.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/inputs/jenkins/jenkins.go b/plugins/inputs/jenkins/jenkins.go index 704e207b26768..ed3920fb35aa3 100644 --- a/plugins/inputs/jenkins/jenkins.go +++ b/plugins/inputs/jenkins/jenkins.go @@ -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)