diff --git a/plugin/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java b/plugin/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java index 20502e0fb48..ba6da84f19b 100644 --- a/plugin/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java +++ b/plugin/src/main/java/org/elasticsearch/license/TransportGetLicenseAction.java @@ -44,12 +44,12 @@ public class TransportGetLicenseAction extends TransportMasterNodeReadAction - listener) throws ElasticsearchException { + protected void masterOperation(final GetLicenseRequest request, ClusterState state, + final ActionListener listener) throws ElasticsearchException { listener.onResponse(new GetLicenseResponse(licenseService.getLicense())); } } diff --git a/plugin/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java b/plugin/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java index 9cc2101e501..032d1eb6e86 100644 --- a/plugin/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java +++ b/plugin/src/main/java/org/elasticsearch/license/TransportPutLicenseAction.java @@ -44,7 +44,7 @@ public class TransportPutLicenseAction extends TransportMasterNodeAction