I suggest that ucloud-api parses MB/GB/TB/EB/PB/etc. but stores without a modifier - i.e. in bytes
Updated by Ahmed Bilal about 4 years ago
- Status changed from In Progress to Closed
nico: Hmm. I am sure the client and probably the API both should understand units, because people will post weird json to it and don't want / should not need to talk in bytes / cents
It might even be easier for us, if we store units in etcd, so we can easily debug it
So, now ucloud-api accept units and we also store units in etcd.