From 2971c957ab2af164f6b5506068e62a1988de66a9 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 8 May 2017 12:05:39 +0200 Subject: [PATCH] PVE::ReplicationTools::get_node_ip - do not pass noerr to PVE::Cluster::remote_node_ip() We need an IP address. --- PVE/ReplicationTools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/ReplicationTools.pm b/PVE/ReplicationTools.pm index 5fad1c9..9e44061 100644 --- a/PVE/ReplicationTools.pm +++ b/PVE/ReplicationTools.pm @@ -70,7 +70,7 @@ sub read_state { sub get_node_ip { my ($nodename) = @_; - my $remoteip = PVE::Cluster::remote_node_ip($nodename, 1); + my $remoteip = PVE::Cluster::remote_node_ip($nodename); my $dc_conf = PVE::Cluster::cfs_read_file('datacenter.cfg'); if (my $network = $dc_conf->{storage_replication_network}) {