fix: metric with services LB.
This commit is contained in:
parent
229402594f
commit
7536f5e83c
2 changed files with 9 additions and 2 deletions
|
@ -291,6 +291,11 @@ func TestPrometheusMetricRemoval(t *testing.T) {
|
|||
th.WithLoadBalancerServices(th.WithService("bar",
|
||||
th.WithServers(th.WithServer("http://localhost:9000"))),
|
||||
),
|
||||
func(cfg *dynamic.HTTPConfiguration) {
|
||||
cfg.Services["fii"] = &dynamic.Service{
|
||||
Weighted: &dynamic.WeightedRoundRobin{},
|
||||
}
|
||||
},
|
||||
),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue