Skip to content

Commit f6a130a

Browse files
Apply suggestions from code review
Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
1 parent ad2396b commit f6a130a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,6 @@ integTest {
586586
excludeTestsMatching "org.opensearch.indexmanagement.indexstatemanagement.action.NotificationActionIT"
587587
}
588588
exclude 'org/opensearch/indexmanagement/indexstatemanagement/MetadataRegressionIT.class'
589-
exclude 'org/opensearch/indexmanagement/indexstatemanagement/ConvertIndexToRemoteIT.class'
590589
}
591590

592591
// TODO: raise issue in Core, this is because of the test framework
@@ -648,7 +647,6 @@ task integTestRemote(type: RestIntegTestTask) {
648647

649648
// Snapshot action integration tests rely on node level setting path.repo which we can't set remotely
650649
exclude 'org/opensearch/indexmanagement/indexstatemanagement/action/SnapshotActionIT.class'
651-
exclude 'org/opensearch/indexmanagement/indexstatemanagement/action/ConvertIndexToRemoteIT.class'
652650
}
653651

654652
// === Set up BWC tests ===

src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/step/restore/AttemptRestoreStep.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class AttemptRestoreStep(private val action: ConvertIndexToRemoteAction) : Step(
136136
): String {
137137
val contextMap =
138138
managedIndexMetaData.convertToMap().filterKeys { key ->
139-
key in AttemptSnapshotStep.validTopContextFields
139+
key in validTopContextFields
140140
}
141141
val compiledValue =
142142
scriptService.compile(template, TemplateScript.CONTEXT)

0 commit comments

Comments
 (0)