Remove 'desc' from docker creation attribute

"Docker run" API do not support adding description for
a container, so we can remove 'desc' from docker creation
attribute.

Change-Id: Ic2c0c0c17bb5e25ab727a3e6469ebee802c1683f
This commit is contained in:
Jay Lau (Guangya Liu)
2015-01-13 09:49:34 -05:00
parent ad0d125575
commit 4e0a68ccae
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ from magnumclient.v1 import shell
container_fixture = {
"name": "container",
"desc": "container description."
"image_id": "image_id"
}

View File

@@ -19,7 +19,7 @@ from magnumclient.common import utils
from magnumclient import exceptions
CREATION_ATTRIBUTES = ['name', 'desc', 'image_id']
CREATION_ATTRIBUTES = ['name', 'image_id']
class Container(base.Resource):