Skip to content

Add to and from XContent to ClusterBlock and ClusterBlocks

Codecov / codecov/patch succeeded Jun 5, 2024 in 1s

83.92% of diff hit (target 71.42%)

View this Pull Request on Codecov

83.92% of diff hit (target 71.42%)

Annotations

Check warning on line 230 in server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java#L229-L230

Added lines #L229 - L230 were not covered by tests

Check warning on line 233 in server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java#L232-L233

Added lines #L232 - L233 were not covered by tests

Check warning on line 243 in server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java#L243

Added line #L243 was not covered by tests

Check warning on line 246 in server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/block/ClusterBlock.java#L246

Added line #L246 was not covered by tests

Check warning on line 575 in server/src/main/java/org/opensearch/cluster/block/ClusterBlocks.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/block/ClusterBlocks.java#L575

Added line #L575 was not covered by tests