Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Costs in API does include decimals for Euros and can't be mapped to Int #35

Closed
larsdunemark opened this issue Mar 1, 2021 · 2 comments

Comments

@larsdunemark
Copy link
Member

Current solution expects all costs to be mapped to an Int, if a organization use Euros instead of SEK and IPv6 address will end up with a cost of 0.1 Euro and will fail to parse the json.

https://github.com/glesys/glesys-go/search?q=Amount+int+json%3Aamount

@larsdunemark
Copy link
Member Author

Also cost in Loadbalancers is incorrect mapped. https://github.com/glesys/glesys-go/blob/master/loadbalancers.go#L34

@norrland
Copy link
Contributor

Fixed with #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants