Fix missing break statement causing reroute serialization failure

closes #7135
This commit is contained in:
Shay Banon 2014-08-02 16:52:13 +02:00
parent b81b240924
commit 2d31349ab0
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ public abstract class Decision implements ToXContent {
break;
case THROTTLE:
out.writeVInt(2);
break;
default:
throw new ElasticsearchIllegalArgumentException("Invalid Type [" + type + "]");
}