From d7080d1490c251af14642e20e7e6f95bcf983de3 Mon Sep 17 00:00:00 2001 From: Opbod <5190820+opbod@users.noreply.github.com> Date: Fri, 20 Jun 2025 09:17:41 +0200 Subject: [PATCH] Update kvm_net Fix issue with `value` which isn't available yet and yields `UnboundLocalError` --- plugins/libvirt/kvm_net | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/libvirt/kvm_net b/plugins/libvirt/kvm_net index 04a6e1d0..f457e39f 100755 --- a/plugins/libvirt/kvm_net +++ b/plugins/libvirt/kvm_net @@ -169,7 +169,7 @@ def find_vm_names(pids): for index, token in enumerate(name_arg_value.split(",")): if (index == 0) and ("=" not in token): # the first item may the plain name - name = value + name = token elif "=" in token: key, value = token.split("=", 1) if key == "guest":