From 5e411fbce7712aa39ff4d4d535b9f2259b4f20a3 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 23 Jan 2018 08:06:19 -0600 Subject: [PATCH] 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 --- openstackclient/network/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstackclient/network/client.py b/openstackclient/network/client.py index 878672b78e..5183cbdaf5 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)