Add warning if keepalive fails

This commit is contained in:
Joshua Boniface 2018-07-17 22:07:28 -04:00
parent 6a193ac5eb
commit d3cb8d4a13
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ class NodeInstance():
'/nodes/{}/keepalive'.format(self.name): str(keepalive_time) '/nodes/{}/keepalive'.format(self.name): str(keepalive_time)
}) })
except: except:
ansiiprint.echo('Failed to set keepalive data', '', 'e')
return return
# Close the Libvirt connection # Close the Libvirt connection