summaryrefslogtreecommitdiff
path: root/openstackclient/image/client.py
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2013-04-09 13:59:12 -0500
committerJosh Kearney <josh@jk0.org>2013-04-23 14:09:20 -0500
commit6da61e03f03f9a65cbc9203ea9fdd47c64990184 (patch)
treed54da4c152a93bc0aa553c1b542a6e8b2cc884bf /openstackclient/image/client.py
parent95bf187a4fde78b6d9d93e40a245ddada004c32a (diff)
downloadpython-openstackclient-6da61e03f03f9a65cbc9203ea9fdd47c64990184.tar.gz
Adds image `create` and `delete` functionality.
We use the V1 API for `create` since it does not yet exist in the V2 API in glanceclient. For blueprint glance-client. Change-Id: Ifa819c14f6a013f4530d16247a671e5a1c740a28
Diffstat (limited to 'openstackclient/image/client.py')
-rw-r--r--openstackclient/image/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/client.py b/openstackclient/image/client.py
index 8a63da9c..37160569 100644
--- a/openstackclient/image/client.py
+++ b/openstackclient/image/client.py
@@ -22,7 +22,7 @@ LOG = logging.getLogger(__name__)
API_NAME = "image"
API_VERSIONS = {
- "1.0": "glanceclient.v2.client.Client",
+ "1": "glanceclient.v1.client.Client",
"2": "glanceclient.v2.client.Client"
}