[pve-devel] [PATCH qemu-server 7/9] make tidy
Fiona Ebner
f.ebner at proxmox.com
Mon Jul 21 14:10:52 CEST 2025
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
src/PVE/API2/Qemu/HMPPerms.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/API2/Qemu/HMPPerms.pm b/src/PVE/API2/Qemu/HMPPerms.pm
index f6b32891..68213016 100644
--- a/src/PVE/API2/Qemu/HMPPerms.pm
+++ b/src/PVE/API2/Qemu/HMPPerms.pm
@@ -185,7 +185,7 @@ our $hmp_command_perms = {
sub generate_description {
my $cmd_by_priv = {};
for my $cmd (sort keys $hmp_command_perms->%*) {
- push $cmd_by_priv->{$hmp_command_perms->{$cmd}}->@*, $cmd;
+ push $cmd_by_priv->{ $hmp_command_perms->{$cmd} }->@*, $cmd;
}
my $none_cmds = delete($cmd_by_priv->{none})
or die "internal error - no commands for 'none' found";
--
2.47.2
More information about the pve-devel
mailing list