mirror of https://github.com/prometheus/prometheus
Accept promql.Engine interface in v1.NewAPI() (#10050)
Instead of requesting a concrete type. This would allow other implementations that use the same API to replace or wrap the engine implementation while maintaining the same API. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>pull/10067/head
parent
2737abf221
commit
3c400d443d
Loading…
Reference in new issue