Boavizta / cloud-scanner

📡 Get Boavizta impact data for your aws cloud account usage.
GNU Affero General Public License v3.0
34 stars 8 forks source link

Wrong default API URL #125

Closed demeringo closed 2 years ago

demeringo commented 2 years ago

Bug description

Wen using scanner without passing custom API URL, queries fails.

To Reproduce

Run the scanner without passing any custom URL, fails because the default set in code includes a trailing slash (that make requests fail).

Unit tests pass because they use correct URL (only CLI, wich is not tested fails).

Expected behavior

Should use https://api.boavizta.org (without trailing slash) as default.