summaryrefslogtreecommitdiff
path: root/glanceclient/v2
diff options
context:
space:
mode:
authorBrian Rosmaita <rosmaita.fossdev@gmail.com>2018-03-22 01:13:38 -0400
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2018-03-22 01:16:41 -0400
commit6cd537e2748fa636aa3061812b257d549a6d603f (patch)
tree5a4a5de15739829a490d6fdb12e89f2e4159e04e /glanceclient/v2
parentaedabec9e46e80266cdefb315f112a30927e216a (diff)
downloadpython-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.py2
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():