diff options
| author | Josh Kearney <josh@jk0.org> | 2011-06-23 16:28:59 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-06-23 16:28:59 -0500 |
| commit | 2d0d1e179dd8870967ebf00a82fbc7d21bed6116 (patch) | |
| tree | f0f60e3d5451b9722da13323af980b2ec684a142 | |
| parent | e3c1a6742b16add04d76631b9dbd4f2ef016e0b3 (diff) | |
| download | nova-2d0d1e179dd8870967ebf00a82fbc7d21bed6116.tar.gz nova-2d0d1e179dd8870967ebf00a82fbc7d21bed6116.tar.xz nova-2d0d1e179dd8870967ebf00a82fbc7d21bed6116.zip | |
Cast rotation to int.
| -rw-r--r-- | nova/api/openstack/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py index 54f8e05a9..d8dbd2360 100644 --- a/nova/api/openstack/images.py +++ b/nova/api/openstack/images.py @@ -126,7 +126,7 @@ class Controller(object): if not FLAGS.allow_admin_api: raise webob.exc.HTTPBadRequest() - rotation = get_param("rotation") + rotation = int(get_param("rotation")) image = self._compute_service.backup(context, server_id, image_type, rotation) |
