diff options
author | Tor Egge <tegge@oath.com> | 2018-04-09 13:11:13 +0000 |
---|---|---|
committer | Tor Egge <tegge@oath.com> | 2018-04-09 13:11:13 +0000 |
commit | c9b085a780efd843c9ef919da6cf1bd9a6aaab82 (patch) | |
tree | c029714898a289d72ed0b269e34ecac40024896b /vespaclient | |
parent | 704435b261f20644a6169c607f21ef29a3f43ba1 (diff) |
Normalize code to use spaces instead of tabs.
Diffstat (limited to 'vespaclient')
-rw-r--r-- | vespaclient/src/perl/lib/Yahoo/Vespa/Bin/SetNodeState.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vespaclient/src/perl/lib/Yahoo/Vespa/Bin/SetNodeState.pm b/vespaclient/src/perl/lib/Yahoo/Vespa/Bin/SetNodeState.pm index 5461c50ee30..3767640b9dd 100644 --- a/vespaclient/src/perl/lib/Yahoo/Vespa/Bin/SetNodeState.pm +++ b/vespaclient/src/perl/lib/Yahoo/Vespa/Bin/SetNodeState.pm @@ -85,14 +85,14 @@ sub maybeRequireClusterSelection my %clusters; VespaModel::visitServices(sub { my ($info) = @_; - if ($$info{'type'} =~ /^(?:distributor|storage|storagenode)$/ ) { - $clusters{$$info{'cluster'}} = 1; - } + if ($$info{'type'} =~ /^(?:distributor|storage|storagenode)$/ ) { + $clusters{$$info{'cluster'}} = 1; + } }); my $clusterCount = scalar keys %clusters; if ($clusterCount > 1) { printWarning "More than one cluster is present but no cluster is selected\n"; - exitApplication(1); + exitApplication(1); } } |