forked from qonto/prometheus-rds-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add missing logger in servicequotas fetcher
This commit is updating the exporter and servicequotas packages to properly pass the logger. In the `serviceQuotaFetcher` struct we have defined a logger field but it was never initialized. Which means any call to s.logger was panicking in the `serviceQuotaFetcher` methods. Properly passing the logger and storing it in the structure will allow us to properly use `s.logger` inside the `serviceQuotaFetcher` methods. This change has been made following this [issue][1] [1]: qonto#205 Signed-off-by: Clovis Delarue <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters