From: Fabian Grünbichler Date: Tue, 12 May 2020 08:59:05 +0000 (+0200) Subject: pvecm: pass correct nodename to finish_join X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1e0c6aff96059b61791cd30ea12c5382ad9f7006;p=pve-cluster.git pvecm: pass correct nodename to finish_join only cosmetic, but printing the wrong nodename might cause confusion. Signed-off-by: Fabian Grünbichler --- 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 = $@;