Merge "Add docker to image_schema on glance v2 cli"
This commit is contained in:
@@ -112,7 +112,8 @@ schema_fixture = {
|
||||
"aki",
|
||||
"bare",
|
||||
"ovf",
|
||||
"ova"
|
||||
"ova",
|
||||
"docker"
|
||||
],
|
||||
"type": [
|
||||
"null",
|
||||
|
@@ -40,7 +40,8 @@ def schema_args(schema_getter, omit=None):
|
||||
my_schema_getter = lambda: {
|
||||
'properties': {
|
||||
'container_format': {
|
||||
'enum': [None, 'ami', 'ari', 'aki', 'bare', 'ovf', 'ova'],
|
||||
'enum': [None, 'ami', 'ari', 'aki', 'bare', 'ovf', 'ova',
|
||||
'docker'],
|
||||
'type': 'string',
|
||||
'description': 'Format of the container'},
|
||||
'disk_format': {
|
||||
|
@@ -44,7 +44,8 @@ _BASE_SCHEMA = {
|
||||
"aki",
|
||||
"bare",
|
||||
"ovf",
|
||||
"ova"
|
||||
"ova",
|
||||
"docker"
|
||||
],
|
||||
"type": "string",
|
||||
"description": "Format of the container"
|
||||
|
Reference in New Issue
Block a user