diff options
| -rw-r--r-- | novaclient/v1_1/flavors.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/novaclient/v1_1/flavors.py b/novaclient/v1_1/flavors.py index 42778c62..28f06542 100644 --- a/novaclient/v1_1/flavors.py +++ b/novaclient/v1_1/flavors.py @@ -162,14 +162,14 @@ class FlavorManager(base.ManagerWithFind): body = { "flavor": { "name": name, - "ram": int(ram), - "vcpus": int(vcpus), - "disk": int(disk), + "ram": ram, + "vcpus": vcpus, + "disk": disk, "id": flavorid, - "swap": int(swap), - "OS-FLV-EXT-DATA:ephemeral": int(ephemeral), - "rxtx_factor": float(rxtx_factor), - "os-flavor-access:is_public": bool(is_public), + "swap": swap, + "OS-FLV-EXT-DATA:ephemeral": ephemeral, + "rxtx_factor": rxtx_factor, + "os-flavor-access:is_public": is_public, } } |
