Renamed ClusterBlocks variable named "block" to "blocks".
"blocks" has been used 9 times for variable names of type ClusterBlocks but block has been used only this case. It seems to be a typo.
This commit is contained in:
parent
40a1ac82ef
commit
dc15dee323
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue