Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

Use longs for int64 values #25

Closed
jimmidyson opened this issue Apr 25, 2015 · 1 comment
Closed

Use longs for int64 values #25

jimmidyson opened this issue Apr 25, 2015 · 1 comment

Comments

@jimmidyson
Copy link
Contributor

Json schema doesn't support long, just integer & number. As an example, resource.Quantity had to be a long to accept memory in bytes.

See fabric8io/elasticsearch-cloud-kubernetes#9

@jimmidyson
Copy link
Contributor Author

Actually looking at resource/Quantity show that it should be marshalled to/from a string as it contains format in the string. Easiest would be to just use string for now but will need to revisit it later when we have a ui for editing stuff like memory.

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

No branches or pull requests

1 participant