diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-02-02 13:09:32 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-02-02 13:09:32 +0000 |
commit | 57c1c6e2765471508dd5fe7a7498b32f6607f40a (patch) | |
tree | 022ce35dba685be59ac1496b995e29146d005b70 | |
parent | 5e02b7844b0ec92b41491a873fc2909a205f4426 (diff) | |
parent | 33e2b5a73237418148e21c94b07efe87d200eb7b (diff) | |
download | tempest-lib-57c1c6e2765471508dd5fe7a7498b32f6607f40a.tar.gz |
Merge "Alter image json schema to allow for null name and size values"
-rw-r--r-- | tempest_lib/api_schema/response/compute/v2_1/images.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tempest_lib/api_schema/response/compute/v2_1/images.py b/tempest_lib/api_schema/response/compute/v2_1/images.py index b8c4151..41aceaf 100644 --- a/tempest_lib/api_schema/response/compute/v2_1/images.py +++ b/tempest_lib/api_schema/response/compute/v2_1/images.py @@ -26,7 +26,7 @@ common_image_schema = { 'status': {'type': 'string'}, 'updated': {'type': 'string'}, 'links': image_links, - 'name': {'type': 'string'}, + 'name': {'type': ['string', 'null']}, 'created': {'type': 'string'}, 'minDisk': {'type': 'integer'}, 'minRam': {'type': 'integer'}, @@ -41,7 +41,7 @@ common_image_schema = { 'additionalProperties': False, 'required': ['id', 'links'] }, - 'OS-EXT-IMG-SIZE:size': {'type': 'integer'}, + 'OS-EXT-IMG-SIZE:size': {'type': ['integer', 'null']}, 'OS-DCF:diskConfig': {'type': 'string'} }, 'additionalProperties': False, |