Enhance description of instance-uuid option for image-create
Current description of instance-uuid may confuse users because they may think that instance-uuid can serve as basis for image but it just stores instance-uuid as image-metadata. So we need to enhance the description in glanceclient. Change-Id: I55829d106c9d25374df6538b3071104ee5f215f2 Closes-Bug: #1496822
This commit is contained in:
@@ -159,7 +159,10 @@ schema_fixture = {
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"instance_uuid": {
|
"instance_uuid": {
|
||||||
"description": "ID of instance used to create this image.",
|
"description": ("Metadata which can be used to record which "
|
||||||
|
"instance this image is associated with. "
|
||||||
|
"(Informational only, does not create an instance "
|
||||||
|
"snapshot.)"),
|
||||||
"is_base": "false",
|
"is_base": "false",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@@ -195,7 +195,10 @@ _BASE_SCHEMA = {
|
|||||||
},
|
},
|
||||||
"instance_uuid": {
|
"instance_uuid": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "ID of instance used to create this image."
|
"description": ("Metadata which can be used to record which "
|
||||||
|
"instance this image is associated with. "
|
||||||
|
"(Informational only, does not create an instance "
|
||||||
|
"snapshot.)")
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
Reference in New Issue
Block a user