summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/create_instance.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/create_instance.py')
-rw-r--r--snaps/openstack/create_instance.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/snaps/openstack/create_instance.py b/snaps/openstack/create_instance.py
index d5917a8..997b5a5 100644
--- a/snaps/openstack/create_instance.py
+++ b/snaps/openstack/create_instance.py
@@ -618,6 +618,7 @@ class OpenStackVmInstance:
if len(self.__floating_ips) > 0:
ssh = self.ssh_client()
if ssh:
+ ssh.close()
return True
return False