Skip to content

Commit 4afbc8f

Browse files
committed
chore: lint
1 parent 438f605 commit 4afbc8f

File tree

1 file changed

+1
-5
lines changed
  • internal/component/prometheus/scrape

1 file changed

+1
-5
lines changed

internal/component/prometheus/scrape/scrape.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,11 +432,7 @@ func (c *Component) Run(ctx context.Context) error {
432432
}
433433
}
434434

435-
func (c *Component) distributeTargets(
436-
targets []discovery.Target,
437-
jobName string,
438-
args Arguments,
439-
) (map[string][]*targetgroup.Group, []*scrape.Target) {
435+
func (c *Component) distributeTargets(targets []discovery.Target, jobName string, args Arguments) (map[string][]*targetgroup.Group, []*scrape.Target) {
440436
var (
441437
newDistTargets = discovery.NewDistributedTargets(args.Clustering.Enabled, c.cluster, targets)
442438
oldDistributedTargets *discovery.DistributedTargets

0 commit comments

Comments
 (0)