]> git.proxmox.com Git - pve-http-server.git/commitdiff
proxy_request: drop duplicate, unused parameter
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 17 Oct 2019 13:14:10 +0000 (15:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Oct 2019 15:36:06 +0000 (17:36 +0200)
which was mistakenly added back when this was still in pve-manager.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/APIServer/AnyEvent.pm

index c1dade89da47813ca61601d629fe5e565d197221..9aba27d45037bc0c614dbcefba762aba69e96584 100644 (file)
@@ -747,7 +747,7 @@ sub handle_api2_request {
            $res->{proxy_params}->{tmpfilename} = $reqstate->{tmpfilename} if $upload_state;
 
            $self->proxy_request($reqstate, $clientip, $host, $res->{proxynode}, $method,
-                                $r->uri, $auth->{ticket}, $auth->{token}, $res->{proxy_params}, $res->{proxynode});
+                                $r->uri, $auth->{ticket}, $auth->{token}, $res->{proxy_params});
            return;
 
        } elsif ($upgrade && ($method eq 'GET') && ($path =~ m|websocket$|)) {