mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
fix: fix testing
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
This commit is contained in:
parent
cddf729ca3
commit
1d49d11786
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue