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 GitHub
parent 2a80e740ac
commit a939a0f2c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)