]> git.proxmox.com Git - pve-cluster.git/commitdiff
pvecm: pass correct nodename to finish_join
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 12 May 2020 08:59:05 +0000 (10:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 18 May 2020 12:45:22 +0000 (14:45 +0200)
only cosmetic, but printing the wrong nodename might cause confusion.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
data/PVE/CLI/pvecm.pm

index fe099d47c3445bbd6a28b399b2023523d57e771d..107c4cbdb4ef585a7d1ba905c1329b3de05d950c 100755 (executable)
@@ -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 = $@;