Closed PierreRust closed 10 months ago
Thanks for your bug report. Found the bug, we didn't divide the min/max impacts by the instance per server ratio.
Fixed in : https://github.com/Boavizta/boaviztapi/commit/7ff1aff9c560e7dbcdefd486cc0cf25786cdf124 which is up and running in the dev endpoint.
Please tell me if it fixes the issue.
I've just tried it and I confirm the issue is fixed 👍
I now always get min =< value =< max
thanks !
Bug description
When requesting the impact of a aws m4.large instance, the min and max values are not coherent with the value returned by the API.
To Reproduce
The problem seems to be the same on other impact criteria.
Expected behavior
I would expect to see
min < value < max
JSON OUTPUT
Additional context
This happens on the dev instance, tested at http://dev.api.boavizta.org/docs#/cloud/instance_cloud_impact_v1_cloud_instance_get