prometheus/discovery/consul
Julius Volz 5cf0113762
Add "omitempty" to some SD config YAML field tags (#4338)
Especially for Kubernetes SD, this fixes a bug where the rendered
configuration says "api_server: null", which when read back is not
interpreted as an un-set API server (thus the default is not applied).

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-07-03 13:43:41 +02:00
..
consul.go Add "omitempty" to some SD config YAML field tags (#4338) 2018-07-03 13:43:41 +02:00
consul_test.go Rewrote tests with testutil for several test files (#4086) 2018-04-27 13:11:16 +01:00