diff options
| author | kairat_kushaev <kkushaev@mirantis.com> | 2016-01-15 11:50:43 +0300 |
|---|---|---|
| committer | kairat_kushaev <kkushaev@mirantis.com> | 2016-01-18 12:41:17 +0300 |
| commit | a8d7ded8fb4f5cf1e84c185d13c6fac1b607696c (patch) | |
| tree | 5d93f979d49958866baf19911f279bdfa8c90c5e /glanceclient | |
| parent | 0b7a6d2379981c1c0e08797ab44aa7272590d340 (diff) | |
| download | python-glanceclient-a8d7ded8fb4f5cf1e84c185d13c6fac1b607696c.tar.gz | |
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
Diffstat (limited to 'glanceclient')
| -rw-r--r-- | glanceclient/tests/unit/v2/fixtures.py | 5 | ||||
| -rw-r--r-- | glanceclient/v2/image_schema.py | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/glanceclient/tests/unit/v2/fixtures.py b/glanceclient/tests/unit/v2/fixtures.py index bc8793d..6cc2966 100644 --- a/glanceclient/tests/unit/v2/fixtures.py +++ b/glanceclient/tests/unit/v2/fixtures.py @@ -159,7 +159,10 @@ schema_fixture = { "type": "string" }, "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", "type": "string" }, diff --git a/glanceclient/v2/image_schema.py b/glanceclient/v2/image_schema.py index ad669ba..aee7144 100644 --- a/glanceclient/v2/image_schema.py +++ b/glanceclient/v2/image_schema.py @@ -195,7 +195,10 @@ _BASE_SCHEMA = { }, "instance_uuid": { "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": { "type": "string", |
