Merge "Change volume size property type to integer"

This commit is contained in:
Jenkins 2014-05-02 17:21:13 +00:00 committed by Gerrit Code Review
commit a0df9425cf
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class Volume(resource.Resource):
required=True
),
SIZE: properties.Schema(
properties.Schema.NUMBER,
properties.Schema.INTEGER,
_('The size of the volume in GB.')
),
BACKUP_ID: properties.Schema(
@ -428,7 +428,7 @@ class CinderVolume(Volume):
_('The availability zone in which the volume will be created.')
),
SIZE: properties.Schema(
properties.Schema.NUMBER,
properties.Schema.INTEGER,
_('The size of the volume in GB.'),
constraints=[
constraints.Range(min=1),