Fix typo in libvirt auto reconnection
This commit is contained in:
parent
4e022382a5
commit
53562799cd
@ -79,7 +79,7 @@ class VirDomainWrapper(object):
|
|||||||
if is_dead:
|
if is_dead:
|
||||||
# pylint: disable=protected-access
|
# pylint: disable=protected-access
|
||||||
self._connection._reconnect_if_dead()
|
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
|
return is_dead
|
||||||
|
|
||||||
def __getattr__(self, attrname):
|
def __getattr__(self, attrname):
|
||||||
|
Loading…
Reference in New Issue
Block a user