]> git.proxmox.com Git - pve-common.git/commitdiff
code cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 4 Apr 2021 15:04:56 +0000 (17:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Apr 2021 15:49:52 +0000 (17:49 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RESTHandler.pm

index 1eea32ac57bef2701e54d3b53ef61396f16f145f..cf854f6d1edefb50f6fcfd0fe645b73638a89e24 100644 (file)
@@ -431,8 +431,7 @@ sub handle {
     my $func = $info->{code};
 
     if (!($info->{name} && $func)) {
-       raise("Method lookup failed ('$info->{name}')\n",
-             code => HTTP_INTERNAL_SERVER_ERROR);
+       raise("Method lookup failed ('$info->{name}')\n", code => HTTP_INTERNAL_SERVER_ERROR);
     }
 
     if (my $schema = $info->{parameters}) {