Skip to content

Commit

Permalink
Always explicitly set ignore_unavailable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiera committed Jun 26, 2018
1 parent 83c3ea2 commit 9024aad
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1175,9 +1175,8 @@ Params withIndicesOptions(IndicesOptions indicesOptions) {
}

Params withIgnoreUnavailable(boolean ignoreUnavailable) {
if (ignoreUnavailable) {
putParam("ignore_unavailable", Boolean.toString(ignoreUnavailable));
}
// Always explicitly place the ignore_unavailable value.
putParam("ignore_unavailable", Boolean.toString(ignoreUnavailable));
return this;
}

Expand Down

0 comments on commit 9024aad

Please sign in to comment.