From cf9785149bf3f1e9308e87255cfc0d9a54ff8b7e Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 24 Sep 2018 01:30:23 -0400 Subject: [PATCH] REmove spurious lv_conn --- router-daemon/pvcrd/RouterInstance.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/router-daemon/pvcrd/RouterInstance.py b/router-daemon/pvcrd/RouterInstance.py index 72ce6cbf..5d321753 100644 --- a/router-daemon/pvcrd/RouterInstance.py +++ b/router-daemon/pvcrd/RouterInstance.py @@ -131,9 +131,6 @@ class RouterInstance(): ansiiprint.echo('Failed to set keepalive data', '', 'e') return - # Close the Libvirt connection - lv_conn.close() - # Display router information to the terminal ansiiprint.echo('{}{} keepalive{}'.format(ansiiprint.purple(), self.name, ansiiprint.end()), '', 't') ansiiprint.echo('{0}Active networks:{1} {2} {0}Free memory [MiB]:{1} {3} {0}Used memory [MiB]:{1} {4} {0}Load:{1} {5}'.format(ansiiprint.bold(), ansiiprint.end(), self.networks_count, self.memfree, self.memused, self.cpuload), '', 'c')