From 1e0c6aff96059b61791cd30ea12c5382ad9f7006 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 12 May 2020 10:59:05 +0200 Subject: [PATCH] pvecm: pass correct nodename to finish_join MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit only cosmetic, but printing the wrong nodename might cause confusion. Signed-off-by: Fabian Grünbichler --- data/PVE/CLI/pvecm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pvecm.pm index fe099d4..107c4cb 100755 --- a/data/PVE/CLI/pvecm.pm +++ b/data/PVE/CLI/pvecm.pm @@ -439,7 +439,7 @@ __PACKAGE__->register_method ({ my $corosync_conf = PVE::Tools::file_get_contents("$tmpdir/corosync.conf"); my $corosync_authkey = PVE::Tools::file_get_contents("$tmpdir/authkey"); - PVE::Cluster::Setup::finish_join($host, $corosync_conf, $corosync_authkey); + PVE::Cluster::Setup::finish_join($nodename, $corosync_conf, $corosync_authkey); }; my $err = $@; -- 2.39.5