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

René Jochum r.jochum at proxmox.com
Tue Jun 19 16:03:59 CEST 2018


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);
-- 
2.11.0




More information about the pve-devel mailing list