Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <[email protected]>
  • Loading branch information
bowenlan-amzn authored Feb 4, 2025
1 parent ad2396b commit f6a130a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ integTest {
excludeTestsMatching "org.opensearch.indexmanagement.indexstatemanagement.action.NotificationActionIT"
}
exclude 'org/opensearch/indexmanagement/indexstatemanagement/MetadataRegressionIT.class'
exclude 'org/opensearch/indexmanagement/indexstatemanagement/ConvertIndexToRemoteIT.class'
}

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

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

// === Set up BWC tests ===
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class AttemptRestoreStep(private val action: ConvertIndexToRemoteAction) : Step(
): String {
val contextMap =
managedIndexMetaData.convertToMap().filterKeys { key ->
key in AttemptSnapshotStep.validTopContextFields
key in validTopContextFields
}
val compiledValue =
scriptService.compile(template, TemplateScript.CONTEXT)
Expand Down

0 comments on commit f6a130a

Please sign in to comment.