Skip to content

Commit

Permalink
Internal: fixed wrong version check s/onOrBefore/before in TransportS…
Browse files Browse the repository at this point in the history
…hardSingleOperationAction

relates to #7223
  • Loading branch information
javanna committed Aug 14, 2014
1 parent f4a7793 commit 084793f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -326,7 +326,7 @@ public void readFrom(StreamInput in) throws IOException {
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
if (out.getVersion().onOrBefore(Version.V_1_4_0)) {
if (out.getVersion().before(Version.V_1_4_0)) {
//older nodes expect the concrete index as part of the request
request.index(shardId.getIndex());
}
Expand Down

0 comments on commit 084793f

Please sign in to comment.