[azure] Revert discovery plugins must declare their UnicastHostsProvider

Related to #13492

The previous fix is not working for Azure Plugin.
I will work on a new fix for it but for now, I'm reverting the change for azure.
This commit is contained in:
David Pilato 2015-09-11 10:25:19 +02:00
parent e988a9edc6
commit 163c34127f
1 changed files with 0 additions and 2 deletions

View File

@ -26,7 +26,6 @@ import org.elasticsearch.common.logging.Loggers;
import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.discovery.DiscoveryModule; import org.elasticsearch.discovery.DiscoveryModule;
import org.elasticsearch.discovery.azure.AzureDiscovery; import org.elasticsearch.discovery.azure.AzureDiscovery;
import org.elasticsearch.discovery.azure.AzureUnicastHostsProvider;
import org.elasticsearch.index.snapshots.blobstore.BlobStoreIndexShardRepository; import org.elasticsearch.index.snapshots.blobstore.BlobStoreIndexShardRepository;
import org.elasticsearch.index.store.IndexStoreModule; import org.elasticsearch.index.store.IndexStoreModule;
import org.elasticsearch.index.store.smbmmapfs.SmbMmapFsIndexStore; import org.elasticsearch.index.store.smbmmapfs.SmbMmapFsIndexStore;
@ -81,7 +80,6 @@ public class CloudAzurePlugin extends Plugin {
public void onModule(DiscoveryModule discoveryModule) { public void onModule(DiscoveryModule discoveryModule) {
discoveryModule.addDiscoveryType("azure", AzureDiscovery.class); discoveryModule.addDiscoveryType("azure", AzureDiscovery.class);
discoveryModule.addUnicastHostProvider(AzureUnicastHostsProvider.class);
} }
public void onModule(IndexStoreModule storeModule) { public void onModule(IndexStoreModule storeModule) {