summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJoshua McKenty <jmckenty@joshua-mckentys-macbook-pro.local>2010-06-24 13:50:59 -0700
committerJoshua McKenty <jmckenty@joshua-mckentys-macbook-pro.local>2010-06-24 13:50:59 -0700
commit8a2f1763cbadd47f6ce26467ac9f82bc9b436d2a (patch)
tree890fd1ca6a63a8fe14e84396950d1fc3ce803241 /nova
parent344b03071e3b3e56b689ea6e1fb5a0bc2242089c (diff)
Create Volume should only take an integer between 0 and 1000
Diffstat (limited to 'nova')
-rw-r--r--nova/volume/storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/storage.py b/nova/volume/storage.py
index 1401aef1d..9c58358bd 100644
--- a/nova/volume/storage.py
+++ b/nova/volume/storage.py
@@ -90,7 +90,7 @@ class BlockStore(object):
#TODO: aggregate the state of the system
pass
- @validate.rangetest(size=(0, 100))
+ @validate.rangetest(size=(0, 1000))
def create_volume(self, size, user_id, project_id):
"""
Creates an exported volume (fake or real),