mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
discovery(openstack): remove duplicated error handling for floatingips.List (#16205)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
This commit is contained in:
parent
bfa6138196
commit
9630dc656c
1 changed files with 0 additions and 3 deletions
|
|
@ -118,9 +118,6 @@ func (i *LoadBalancerDiscovery) refresh(ctx context.Context) ([]*targetgroup.Gro
|
|||
|
||||
// Fetch all floating IPs
|
||||
fipPages, err := floatingips.List(networkClient, floatingips.ListOpts{}).AllPages(ctx)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to list all fips: %w", err)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to list floating IPs: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue