diff options
author | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-03-22 01:13:38 -0400 |
---|---|---|
committer | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2018-03-22 01:16:41 -0400 |
commit | 6cd537e2748fa636aa3061812b257d549a6d603f (patch) | |
tree | 5a4a5de15739829a490d6fdb12e89f2e4159e04e /glanceclient/v2 | |
parent | aedabec9e46e80266cdefb315f112a30927e216a (diff) | |
download | python-glanceclient-6cd537e2748fa636aa3061812b257d549a6d603f.tar.gz |
Check for container,disk_format on web-download
Fail image-create-via-import requests for the web-download import
method that don't include values for container_format or disk_format.
Closes-bug: #1757927
Change-Id: Ic5c81916823ff32f2dbddd32b40e825de0697dc9
Diffstat (limited to 'glanceclient/v2')
-rw-r--r-- | glanceclient/v2/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/v2/shell.py b/glanceclient/v2/shell.py index 2b83304..baf1754 100644 --- a/glanceclient/v2/shell.py +++ b/glanceclient/v2/shell.py @@ -30,7 +30,7 @@ import os MEMBER_STATUS_VALUES = image_members.MEMBER_STATUS_VALUES IMAGE_SCHEMA = None -DATA_FIELDS = ('location', 'copy_from', 'file') +DATA_FIELDS = ('location', 'copy_from', 'file', 'uri') def get_image_schema(): |