only cosmetic, but printing the wrong nodename might cause confusion.

Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com>
---
 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.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to