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
This commit is contained in:
Monty Taylor 2018-01-23 08:06:19 -06:00
parent a018c6d5d8
commit 5e411fbce7
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -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)