Allow snapshot name with null
According to cinder api schema [0], snapshot name is allow null and minLength 0. [0]:https://github.com/openstack/cinder/blob/master/cinder/api/schemas/snapshots.py#L29 Change-Id: I0d9e07fb1249d3daaed95520a8c771c083f5d54b
This commit is contained in:
parent
232744fcc2
commit
1f4bf49330
|
@ -28,7 +28,7 @@ common_snapshot_schema = {
|
|||
'status': {'type': 'string'},
|
||||
'description': {'type': ['string', 'null']},
|
||||
'created_at': parameter_types.date_time,
|
||||
'name': {'type': 'string'},
|
||||
'name': {'type': ['string', 'null']},
|
||||
'volume_id': {'type': 'string', 'format': 'uuid'},
|
||||
'metadata': metadata,
|
||||
'id': {'type': 'string', 'format': 'uuid'},
|
||||
|
|
Loading…
Reference in New Issue