summaryrefslogtreecommitdiff
path: root/openstackclient/object
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2014-10-06 03:37:46 -0400
committerSteve Martinelli <stevemar@ca.ibm.com>2014-10-06 20:04:19 -0400
commit388bbbac2ce6bf9baf2f9ceb6102b0b1f7072264 (patch)
tree95ea548046c5583be60990cc6d9e6ad2b74d69ee /openstackclient/object
parent0cb204e59b20f25b7a054b411507d6dabbc699ac (diff)
downloadpython-openstackclient-388bbbac2ce6bf9baf2f9ceb6102b0b1f7072264.tar.gz
Fix issues with object related commands
1) Can't create instance of swiftclient. Since we now create an API instance, creating a swiftclient instance won't work. Trying to do any object related command fails. 2) Listing objects in a container fails, we depend on the data returned in a specific way, during the API transition this must have slipped through. Needs regression/funcitonal tests to mame sure this doesn't happen again. Change-Id: I69079a0dc9f32b84e6f9307729d3dbbba549ac5e
Diffstat (limited to 'openstackclient/object')
-rw-r--r--openstackclient/object/client.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/openstackclient/object/client.py b/openstackclient/object/client.py
index 887aa85b..1ac905c3 100644
--- a/openstackclient/object/client.py
+++ b/openstackclient/object/client.py
@@ -33,12 +33,6 @@ API_VERSIONS = {
def make_client(instance):
"""Returns an object-store API client."""
- object_client = utils.get_client_class(
- API_NAME,
- instance._api_version[API_NAME],
- API_VERSIONS)
- LOG.debug('Instantiating object client: %s', object_client)
-
if instance._url:
endpoint = instance._url
else: