[pve-devel] [PATCH] fix bad remote_node_ip usage

Wolfgang Bumiller w.bumiller at proxmox.com
Tue May 12 16:04:05 CEST 2015


---
 src/PVE/API2/LXC.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index c565326..4a2e329 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -651,7 +651,7 @@ __PACKAGE__->register_method ({
 	my ($remip, $family);
 
 	if ($node ne PVE::INotify::nodename()) {
-	    ($remip, $family) = PVE::Cluster::remote_node_ip_and_family($node);
+	    ($remip, $family) = PVE::Cluster::remote_node_ip($node);
 	} else {
 	    $family = PVE::Tools::get_host_address_family($node);
 	}
-- 
2.1.4




More information about the pve-devel mailing list