Skip to content

Refactor the policy to be non null in managed index config

Codecov / codecov/patch succeeded Oct 11, 2023 in 0s

76.31% of diff hit (target 74.69%)

View this Pull Request on Codecov

76.31% of diff hit (target 74.69%)

Annotations

Check warning on line 408 in src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/ManagedIndexRunner.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/ManagedIndexRunner.kt#L408

Added line #L408 was not covered by tests

Check warning on line 483 in src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/ManagedIndexRunner.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/ManagedIndexRunner.kt#L482-L483

Added lines #L482 - L483 were not covered by tests

Check warning on line 677 in src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/ManagedIndexRunner.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/ManagedIndexRunner.kt#L675-L677

Added lines #L675 - L677 were not covered by tests

Check warning on line 186 in src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/model/ManagedIndexConfig.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/model/ManagedIndexConfig.kt#L186

Added line #L186 was not covered by tests

Check warning on line 205 in src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/transport/action/explain/TransportExplainAction.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/transport/action/explain/TransportExplainAction.kt#L205

Added line #L205 was not covered by tests