prometheus/discovery/openstack
Ryan Wu 7d73c1d3f8
refactor[discovery, tsdb]: simplify error handling and remove redundant checks (#16328)
* refactor: simplify error handling and remove redundant checks

Signed-off-by: Ryan Wu <rongjun0821@gmail.com>

* Add the comment for return of reloading blocks failure

Co-authored-by: Ayoub Mrini <ayoubmrini424@gmail.com>
Signed-off-by: Ryan Wu <rongjun0821@gmail.com>

* Add the comment for return of reloading blocks failure

Signed-off-by: Ryan Wu <rongjun0821@gmail.com>

---------

Signed-off-by: Ryan Wu <rongjun0821@gmail.com>
Co-authored-by: Ayoub Mrini <ayoubmrini424@gmail.com>
2025-03-27 12:20:59 +01:00
..
hypervisor_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
hypervisor.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
instance_test.go discovery: move openstack floating ips function from deprecated Compute API /os-floating-ips to Network API /floatingips (#14367) 2025-01-21 11:40:15 +01:00
instance.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
loadbalancer_test.go fix: fix testing 2025-01-21 11:18:34 +00:00
loadbalancer.go refactor[discovery, tsdb]: simplify error handling and remove redundant checks (#16328) 2025-03-27 12:20:59 +01:00
metrics.go SD Managers taking over responsibility for registration of debug metrics (#13375) 2024-01-23 16:53:55 +01:00
mock_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
openstack.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00