remove redundant code
Original commit: elastic/x-pack-elasticsearch@d61cb5554c
This commit is contained in:
parent
d7ec84afd7
commit
90466deb0c
|
@ -56,11 +56,6 @@ public class TransportDeleteLicenseAction extends TransportMasterNodeOperationAc
|
|||
|
||||
@Override
|
||||
protected void masterOperation(final DeleteLicenseRequest request, ClusterState state, final ActionListener<DeleteLicenseResponse> listener) throws ElasticsearchException {
|
||||
MetaData metaData = state.metaData();
|
||||
LicensesMetaData licenses = metaData.custom(LicensesMetaData.TYPE);
|
||||
//listener.onResponse(new DeleteLicenseResponse(licenses));
|
||||
|
||||
//TODO:: add features of the license to be deleted
|
||||
licensesService.unregisteredLicenses("delete_licenses []", request, new ActionListener<ClusterStateUpdateResponse>() {
|
||||
@Override
|
||||
public void onResponse(ClusterStateUpdateResponse clusterStateUpdateResponse) {
|
||||
|
|
Loading…
Reference in New Issue