summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2018-01-23 08:06:19 -0600
committerMonty Taylor <mordred@inaugust.com>2018-01-23 08:08:26 -0600
commit5e411fbce7712aa39ff4d4d535b9f2259b4f20a3 (patch)
tree43be3aadbb5b626c476dce8b3e5caa366aa55a3d /openstackclient/network
parenta018c6d5d8c51c8b0acef3471441b31984502d46 (diff)
downloadpython-openstackclient-5e411fbce7712aa39ff4d4d535b9f2259b4f20a3.tar.gz
Fix use of new openstacksdk connection
We store the created conn on the instance, but we never pull it back off if there is already one present. Change-Id: I2d890dd206d4ddf67fa42d798e6fd2c652799785
Diffstat (limited to 'openstackclient/network')
-rw-r--r--openstackclient/network/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/network/client.py b/openstackclient/network/client.py
index 878672b7..5183cbda 100644
--- a/openstackclient/network/client.py
+++ b/openstackclient/network/client.py
@@ -67,6 +67,7 @@ def make_client(instance):
instance.sdk_connection = conn
+ conn = instance.sdk_connection
LOG.debug('Connection: %s', conn)
LOG.debug('Network client initialized using OpenStack SDK: %s',
conn.network)