mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
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:
parent
36dc37c6b9
commit
8eaf1e4548
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue