Fix typo in libvirt auto reconnection

This commit is contained in:
Marek Marczykowski-Górecki 2016-08-08 00:13:26 +02:00
parent 4e022382a5
commit 53562799cd
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -79,7 +79,7 @@ class VirDomainWrapper(object):
if is_dead:
# pylint: disable=protected-access
self._connection._reconnect_if_dead()
self._vm = self._connection._conn.lookupByUUID(self._vm.getUUID())
self._vm = self._connection._conn.lookupByUUID(self._vm.UUID())
return is_dead
def __getattr__(self, attrname):