Remove leftover forbidden suppression in ZD

This commit is contained in:
Jason Tedor 2016-04-07 11:21:51 -04:00
parent c33300c543
commit 6a0e2d1f2d
1 changed files with 0 additions and 2 deletions

View File

@ -36,7 +36,6 @@ import org.elasticsearch.cluster.routing.RoutingService;
import org.elasticsearch.cluster.routing.allocation.RoutingAllocation;
import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.Priority;
import org.elasticsearch.common.SuppressForbidden;
import org.elasticsearch.common.component.AbstractLifecycleComponent;
import org.elasticsearch.common.component.Lifecycle;
import org.elasticsearch.common.inject.Inject;
@ -774,7 +773,6 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
* If the first condition fails we reject the cluster state and throw an error.
* If the second condition fails we ignore the cluster state.
*/
@SuppressForbidden(reason = "debug")
public static boolean shouldIgnoreOrRejectNewClusterState(ESLogger logger, ClusterState currentState, ClusterState newClusterState) {
validateStateIsFromCurrentMaster(logger, currentState.nodes(), newClusterState);