]> git.proxmox.com Git - pve-cluster.git/commitdiff
fix #1723: add missing package for 'remote_node_ip'
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 10 Apr 2018 11:46:39 +0000 (13:46 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 11 Apr 2018 07:33:53 +0000 (09:33 +0200)
without this, we would get perl errors when joining

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
data/PVE/CLI/pvecm.pm

index 23a15a920ba3b8565049e5f760635a7708e34eef..3f0ac128c22888801c947bf494edfd71eb33086c 100755 (executable)
@@ -107,7 +107,7 @@ __PACKAGE__->register_method ({
        my $nodename = PVE::INotify::nodename();
 
        my $host = $param->{hostname};
-       my $local_ip_address = remote_node_ip($nodename);
+       my $local_ip_address = PVE::Cluster::remote_node_ip($nodename);
 
        PVE::Cluster::assert_joinable($param->{ring0_addr}, $param->{ring1_addr}, $param->{force});