diff --git a/src/main/java/org/elasticsearch/cluster/ClusterState.java b/src/main/java/org/elasticsearch/cluster/ClusterState.java index 802503098e8..8ceaccf9a1b 100644 --- a/src/main/java/org/elasticsearch/cluster/ClusterState.java +++ b/src/main/java/org/elasticsearch/cluster/ClusterState.java @@ -497,8 +497,8 @@ public class ClusterState implements ToXContent { return blocks(blocksBuilder.build()); } - public Builder blocks(ClusterBlocks block) { - this.blocks = block; + public Builder blocks(ClusterBlocks blocks) { + this.blocks = blocks; return this; }