Skip to content

Commit

Permalink
Fix missing break statement causing reroute serialization failure
Browse files Browse the repository at this point in the history
closes #7135
  • Loading branch information
kimchy committed Aug 2, 2014
1 parent f1103fb commit 18d506a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -131,6 +131,7 @@ public static void writeTo(Type type, StreamOutput out) throws IOException {
break;
case THROTTLE:
out.writeVInt(2);
break;
default:
throw new ElasticsearchIllegalArgumentException("Invalid Type [" + type + "]");
}
Expand Down

0 comments on commit 18d506a

Please sign in to comment.