Removing RestMapper, cleaning up notification hanlder

This commit is contained in:
John Delivuk 2019-03-08 13:29:36 -05:00
parent 0bb762b367
commit 3f7f249cb8
No known key found for this signature in database
GPG key ID: 8597474A0655625E
4 changed files with 8 additions and 19 deletions

View file

@ -191,7 +191,7 @@ func (cmd *PrometheusAdapter) makeExternalProvider(promClient prom.Client, stopC
}
// construct the provider and start it
emProvider, runner := extprov.NewExternalPrometheusProvider(mapper, promClient, converters, cmd.MetricsRelistInterval)
emProvider, runner := extprov.NewExternalPrometheusProvider(promClient, converters, cmd.MetricsRelistInterval)
runner.RunUntil(stopCh)
return emProvider, nil