[pve-devel] [PATCH v2 manager] set https_proxy to http_proxy for querying url metadata

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 25 15:08:24 CET 2021


On 25.11.21 14:48, Oguz Bektas wrote:
> Reviewed-by: Dominik Csapak <d.csapak at proxmox.com>

where is this tag coming from? Did not see it on the list, only the comment
that it wasn't working?

> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
> v1->v2:
> * thanks dominik for catching my error!
> 
>  PVE/API2/Nodes.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
> index d57a1937..96479848 100644
> --- a/PVE/API2/Nodes.pm
> +++ b/PVE/API2/Nodes.pm
> @@ -1554,7 +1554,7 @@ __PACKAGE__->register_method({
>  
>  	my $dccfg = PVE::Cluster::cfs_read_file('datacenter.cfg');
>  	if ($dccfg->{http_proxy}) {
> -	    $ua->proxy('http', $dccfg->{http_proxy});
> +	    $ua->proxy(['http', 'https'], $dccfg->{http_proxy});
>  	}
>  
>  	my $verify = $param->{'verify-certificates'} // 1;
> 






More information about the pve-devel mailing list