mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
inspection: rename vmmInspection._process to _inspect_vm
It fits more the actual job of the function.
This commit is contained in:
parent
ad47e80ec2
commit
0c019fb8e3
@ -149,7 +149,7 @@ class vmmInspection(vmmGObject):
|
||||
# Whether success or failure, we've "seen" this VM now.
|
||||
self._vmseen[vmuuid] = True
|
||||
try:
|
||||
data = self._process(conn, vm)
|
||||
data = self._inspect_vm(conn, vm)
|
||||
if data:
|
||||
self._set_vm_inspection_data(vm, data)
|
||||
else:
|
||||
@ -160,7 +160,7 @@ class vmmInspection(vmmGObject):
|
||||
except:
|
||||
logging.exception("%s: exception while processing", prettyvm)
|
||||
|
||||
def _process(self, conn, vm):
|
||||
def _inspect_vm(self, conn, vm):
|
||||
if re.search(r"^guestfs-", vm.get_name()):
|
||||
logging.debug("ignore libvirt/guestfs temporary VM %s",
|
||||
vm.get_name())
|
||||
|
Loading…
Reference in New Issue
Block a user