Skip to content

Commit

Permalink
chore: do not modify config during extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Oct 29, 2024
1 parent a3365d1 commit 9f05b23
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scrapers/processors/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,6 @@ func (e Extract) Extract(ctx api.ScrapeContext, inputs ...v1.ScrapeResult) ([]v1
}
}

input.Config = parsedConfig

var ongoingInput v1.ScrapeResults = []v1.ScrapeResult{input}
if !input.BaseScraper.Transform.Script.IsEmpty() {
ctx.Logger.V(3).Infof("Applying script transformation")
Expand Down

0 comments on commit 9f05b23

Please sign in to comment.