|
|
|
Give integer maas constraints without decimal
Currently generic cpu and mem constraints are cast to float inside
juju, this isn't really useful for memory in MB or cpu count as used
by MaaS. It also happens to upset the current code. Giving the
integer form instead is reasonable.
https://code.launchpad.net/~gz/juju/maas_int_constraints_1061286/+merge/127987
(do not edit description out of merge proposal)
Patch Set 1 #
Total messages: 2
|
gz
Please take a look.
|
13 years, 3 months ago (2012年10月04日 11:41:21 UTC) #1 | |||||||||||||||||||||||||||||
Please take a look.
lgtm, fwiw, the float usage is based on some of the cloud providers using them for instance type sizing for cpu. the conversion at usage/provider interaction time here looks good.