-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
curl -X 'POST' 'http://0.0.0.0:5000/v1/cloud/instance?verbose=true&duration=1&criteria=pe' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{
"provider": "aws",
"instance_type": "a1.4xlarge"
}'
gives a use impact of
"use": {
"value": 1.0,
"min": 0.0006086,
"max": 29.22
}
which is the same as the GET
"http://0.0.0.0:5000/v1/cloud/instance?verbose=true&duration=1&criteria=pe&instance_type=a1.4xlarge"
by default 'EEE' is used as a location but when it is set explicitly with
'{
"provider": "aws",
"instance_type": "a1.4xlarge",
"usage": {
"usage_location": "EEE"}
}'
we are getting
"use": {
"value": 0.67,
"min": 0.6027,
"max": 0.8036
}
instead.
To Reproduce
Expected behavior
JSON OUTPUT
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working