diff options
author | Simon Willnauer <simonw@apache.org> | 2016-06-17 22:57:00 +0200 |
---|---|---|
committer | Simon Willnauer <simonw@apache.org> | 2016-06-20 10:55:52 +0200 |
commit | 260f38fd76ec262bb0a84573e1b98af689663a68 (patch) | |
tree | 602b045d4dccbcbe0b6c82c783cd4f5079eddebf /plugins/repository-azure | |
parent | 98951b1203a8bc34d39a190a00712b62598adacf (diff) |
Remove VersionModule and use Version#current consistently.
We pretended to be able to ackt like a different version node for so long it's
time to be honest and remove this ability. It's just confusing and where needed
and tested we should build dedicated extension points.
Diffstat (limited to 'plugins/repository-azure')
-rw-r--r-- | plugins/repository-azure/src/test/java/org/elasticsearch/repositories/azure/AzureRepositoryF.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/repository-azure/src/test/java/org/elasticsearch/repositories/azure/AzureRepositoryF.java b/plugins/repository-azure/src/test/java/org/elasticsearch/repositories/azure/AzureRepositoryF.java index 4150fe5497..bfa0621912 100644 --- a/plugins/repository-azure/src/test/java/org/elasticsearch/repositories/azure/AzureRepositoryF.java +++ b/plugins/repository-azure/src/test/java/org/elasticsearch/repositories/azure/AzureRepositoryF.java @@ -21,7 +21,6 @@ package org.elasticsearch.repositories.azure; import org.apache.lucene.util.IOUtils; import org.elasticsearch.ElasticsearchException; -import org.elasticsearch.Version; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.node.MockNode; import org.elasticsearch.node.Node; @@ -111,7 +110,7 @@ public class AzureRepositoryF { // settings.put("cloud.azure.storage.my_account2.key", "account_key_secondary"); final CountDownLatch latch = new CountDownLatch(1); - final Node node = new MockNode(settings.build(), Version.CURRENT, Collections.singletonList(AzureRepositoryPlugin.class)); + final Node node = new MockNode(settings.build(), Collections.singletonList(AzureRepositoryPlugin.class)); Runtime.getRuntime().addShutdownHook(new Thread() { @Override public void run() { |