summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorKen Pepple <ken.pepple@gmail.com>2011-03-09 14:54:57 -0800
committerKen Pepple <ken.pepple@gmail.com>2011-03-09 14:54:57 -0800
commit9822af58162dc520c4a17646a013560e422efcf9 (patch)
tree60fe1775d427e5b8bca9771d409ed5119382c8b4 /nova
parent203e23ebebc73a98dc8e8497fd2b28d3a6bf01da (diff)
downloadnova-9822af58162dc520c4a17646a013560e422efcf9.tar.gz
nova-9822af58162dc520c4a17646a013560e422efcf9.tar.xz
nova-9822af58162dc520c4a17646a013560e422efcf9.zip
maybe a int instead ?
Diffstat (limited to 'nova')
-rw-r--r--nova/compute/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 2358b562c..5334acfcf 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -165,7 +165,7 @@ class API(base.Base):
'image_id': image_id,
'kernel_id': kernel_id or '',
'ramdisk_id': ramdisk_id or '',
- 'state': "0",
+ 'state': 0,
'state_description': 'scheduling',
'user_id': context.user_id,
'project_id': context.project_id,