meh
This commit is contained in:
parent
57821cd55a
commit
083c563cf6
|
@ -150,8 +150,7 @@ public class IndexLifecycleService extends AbstractComponent
|
|||
// returns current step to execute. If settings are null, then the first step to be executed in
|
||||
// this policy is returned.
|
||||
Step currentStep = policyRegistry.getStep(policyName, phase, action, stepName);
|
||||
ClusterState newClusterState = executeStepUntilAsync(currentStep, clusterState, client, nowSupplier, idxMeta.getIndex());
|
||||
return currentState;
|
||||
return executeStepUntilAsync(currentStep, clusterState, client, nowSupplier, idxMeta.getIndex());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -64,8 +64,6 @@ public class PolicyStepsRegistry {
|
|||
}
|
||||
}
|
||||
|
||||
public Lifecycle
|
||||
|
||||
/**
|
||||
* returns the {@link Step} that matches the name and
|
||||
* policy specified. This is used by {@link ClusterState}
|
||||
|
|
Loading…
Reference in New Issue