Update scrape/manager.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
This commit is contained in:
Bartlomiej Plotka 2026-01-16 13:46:42 +00:00 committed by bwplotka
parent 36dc37c6b9
commit 8eaf1e4548

View file

@ -63,7 +63,7 @@ func NewManager(
logger = promslog.NewNopLogger()
}
if appendable != nil && appendableV2 != nil {
return nil, errors.New("scrape.NewManager: appendableV2 and appendableV2 cannot be provided at the same time")
return nil, errors.New("scrape.NewManager: appendable and appendableV2 cannot be provided at the same time")
}
sm, err := newScrapeMetrics(registerer)