[pve-devel] [PATCH pve-client 2/2] Fix old none ::APIClient uses.

René Jochum r.jochum at proxmox.com
Wed Jun 20 08:49:48 CEST 2018


Please also apply this one.


On 2018-06-19 16:03, René Jochum wrote:
> Signed-off-by: René Jochum <r.jochum at proxmox.com>
> ---
>  PVE/APIClient/Commands/GuestStatus.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm
> index 8ae6c75..03e2e4a 100644
> --- a/PVE/APIClient/Commands/GuestStatus.pm
> +++ b/PVE/APIClient/Commands/GuestStatus.pm
> @@ -180,8 +180,8 @@ __PACKAGE__->register_method ({
>      code => sub {
>  	my ($param) = @_;
>  
> -	my $remote = PVE::Tools::extract_param($param, 'remote');
> -	my $vmid = PVE::Tools::extract_param($param, 'vmid');
> +	my $remote = PVE::APIClient::Tools::extract_param($param, 'remote');
> +	my $vmid = PVE::APIClient::Tools::extract_param($param, 'vmid');
>  
>  	my $config = PVE::APIClient::Config->load();
>  	my $conn = PVE::APIClient::Config->remote_conn($config, $remote);





More information about the pve-devel mailing list