]> git.proxmox.com Git - pve-cluster.git/commitdiff
indentation cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 14 Dec 2018 10:06:50 +0000 (11:06 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 14 Dec 2018 10:06:50 +0000 (11:06 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/API2/ClusterConfig.pm

index 75ec56a9ce1966161ef679485b032609d80133a7..e7142b5455835efb1abadad3e27531b95f66b7ea 100644 (file)
@@ -260,9 +260,9 @@ __PACKAGE__->register_method ({
 
                while (my ($k, $v) = each %$nodelist) {
                    next if $k eq $name; # allows re-adding a node if force is set
-                       if ($v->{ring0_addr} eq $addr || ($v->{ring1_addr} && $v->{ring1_addr} eq $addr)) {
-                           die "corosync: address '$addr' already defined by node '$k'\n";
-                       }
+                   if ($v->{ring0_addr} eq $addr || ($v->{ring1_addr} && $v->{ring1_addr} eq $addr)) {
+                       die "corosync: address '$addr' already defined by node '$k'\n";
+                   }
                }
            };