connection: Simplify keepAlive error checking
This checking is overly involved, keepAlive is not an essential feature, so just log an error if it fails Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
f023b9f8c9
commit
cf76c1517c
|
@ -169,10 +169,6 @@ class VirtinstConnection(object):
|
|||
self._uri = self._libvirtconn.getURI()
|
||||
self._uriobj = URI(self._uri)
|
||||
|
||||
def set_keep_alive(self, interval, count):
|
||||
if hasattr(self._libvirtconn, "setKeepAlive"):
|
||||
self._libvirtconn.setKeepAlive(interval, count)
|
||||
|
||||
|
||||
####################
|
||||
# Polling routines #
|
||||
|
|
Loading…
Reference in New Issue