diff options
author | Juan Antonio Osorio Robles <juan.osorio.robles@ericsson.com> | 2015-05-19 21:41:17 +0300 |
---|---|---|
committer | Juan Antonio Osorio Robles <juan.osorio.robles@ericsson.com> | 2015-05-19 23:42:48 +0300 |
commit | 4c4b8e8025cd4012d5bf7879061b63d9e13e2f4f (patch) | |
tree | 46578f607a5cca63317929de34f0853693760ea8 /barbicanclient/client.py | |
parent | 988c1380ff49b3d267bb64c71699708794966fd5 (diff) | |
download | python-barbicanclient-4c4b8e8025cd4012d5bf7879061b63d9e13e2f4f.tar.gz |
Remove instances of _base_url
The variable _base_url was not really necessary since we are setting up
the endpoint_override variable which will eventually be used when making
a request through the keystoneclient's session.
This is a step in getting the client to use the keystoneclient's
API more wisely. A subsequent CR will remove the need for the
endpoint_override and make use of keystoneclient's endpoint_filters to
discover the Barbican endpoint.
Change-Id: Id589c76fb5fe481a3dd48ee1baa26f7d19d2d1a1
Diffstat (limited to 'barbicanclient/client.py')
-rw-r--r-- | barbicanclient/client.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/barbicanclient/client.py b/barbicanclient/client.py index 5b3085e..939f8fb 100644 --- a/barbicanclient/client.py +++ b/barbicanclient/client.py @@ -47,8 +47,6 @@ class _HTTPClient(adapter.Adapter): self.endpoint_override = '{0}/{1}'.format(endpoint, _DEFAULT_API_VERSION) - self._base_url = self.endpoint_override - if project_id is None: self._default_headers = dict() else: |