From 22124123a92ce00118bab58c93ec97b5772c9616 Mon Sep 17 00:00:00 2001 From: SimonFair <39065407+SimonFair@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:17:48 +0100 Subject: [PATCH] Return dev name as string. --- emhttp/plugins/dynamix.vm.manager/include/libvirt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix.vm.manager/include/libvirt.php b/emhttp/plugins/dynamix.vm.manager/include/libvirt.php index c7d28a9f9..dac17f208 100644 --- a/emhttp/plugins/dynamix.vm.manager/include/libvirt.php +++ b/emhttp/plugins/dynamix.vm.manager/include/libvirt.php @@ -1359,7 +1359,7 @@ $this->_set_last_error(); $ret[] = [ - 'device' => $disk->target->attributes()->dev, + 'device' => $disk->target->attributes()->dev->__toString(), 'file' => $disk->source->attributes()->file, 'type' => '-', 'capacity' => '-',