diff --git a/apps/elasticsearch/mode/cluster.pm b/apps/elasticsearch/mode/cluster.pm index 3806836bb..d8e36fd47 100644 --- a/apps/elasticsearch/mode/cluster.pm +++ b/apps/elasticsearch/mode/cluster.pm @@ -97,7 +97,6 @@ sub run { $self->{output}->option_exit(); } - my $exit; if ($webcontent->{status} eq 'green') { $self->{output}->output_add(severity => 'OK', short_msg => sprintf("Cluster %s : All shard are allocated", $webcontent->{cluster_name}));