mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
fix: fix testing
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
This commit is contained in:
parent
cddf729ca3
commit
1d49d11786
@ -117,7 +117,7 @@ func (i *LoadBalancerDiscovery) refresh(ctx context.Context) ([]*targetgroup.Gro
|
||||
}
|
||||
}
|
||||
|
||||
// Fetch all floating IPs with pagination
|
||||
// Fetch all floating IPs
|
||||
fipPages, err := floatingips.List(networkClient, floatingips.ListOpts{}).AllPages()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to list all fips: %w", err)
|
||||
|
@ -32,7 +32,7 @@ func (s *OpenstackSDLoadBalancerTestSuite) SetupTest(t *testing.T) {
|
||||
|
||||
s.Mock.HandleLoadBalancerListSuccessfully()
|
||||
s.Mock.HandleListenersListSuccessfully()
|
||||
s.Mock.HandleFloatingIPsListSuccessfully()
|
||||
s.Mock.HandleFloatingIPListSuccessfully()
|
||||
|
||||
s.Mock.HandleVersionsSuccessfully()
|
||||
s.Mock.HandleAuthSuccessfully()
|
||||
|
Loading…
Reference in New Issue
Block a user