[pve-devel] [PATCH cluster 2/2] pvecm: pass correct nodename to finish_join

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue May 12 10:59:05 CEST 2020


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

Signed-off-by: Fabian Grünbichler <f.gruenbichler at 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





More information about the pve-devel mailing list