Skip to content

Commit

Permalink
fix compil
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Sep 4, 2024
1 parent ad10fd2 commit 5b68fc2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
import org.elasticsearch.index.translog.TranslogConfig;
import org.elasticsearch.index.translog.TranslogDeletionPolicy;
import org.elasticsearch.index.translog.TranslogOperationsUtils;
import org.elasticsearch.indices.IndicesService;
import org.elasticsearch.indices.breaker.NoneCircuitBreakerService;
import org.elasticsearch.indices.recovery.RecoverySettings;
import org.elasticsearch.test.IndexSettingsModule;
import org.elasticsearch.test.index.IndexVersionUtils;
import org.elasticsearch.threadpool.ThreadPool;
Expand Down Expand Up @@ -7777,7 +7777,7 @@ protected void commitIndexWriter(IndexWriter writer, Translog translog) throws I
public void testDisableRecoverySource() throws Exception {
Settings settings = Settings.builder()
.put(defaultSettings.getNodeSettings())
.put(IndicesService.INDICES_RECOVERY_SOURCE_ENABLED_SETTING.getKey(), false)
.put(RecoverySettings.INDICES_RECOVERY_SOURCE_ENABLED_SETTING.getKey(), false)
.build();
IndexSettings indexSettings = new IndexSettings(defaultSettings.getIndexMetadata(), settings, defaultSettings.getScopedSettings());
try (
Expand Down

0 comments on commit 5b68fc2

Please sign in to comment.