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:
parent
a018c6d5d8
commit
5e411fbce7
@ -67,6 +67,7 @@ def make_client(instance):
|
|||||||
|
|
||||||
instance.sdk_connection = conn
|
instance.sdk_connection = conn
|
||||||
|
|
||||||
|
conn = instance.sdk_connection
|
||||||
LOG.debug('Connection: %s', conn)
|
LOG.debug('Connection: %s', conn)
|
||||||
LOG.debug('Network client initialized using OpenStack SDK: %s',
|
LOG.debug('Network client initialized using OpenStack SDK: %s',
|
||||||
conn.network)
|
conn.network)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user