Fix missing break statement causing reroute serialization failure
closes #7135
This commit is contained in:
parent
b81b240924
commit
2d31349ab0
|
@ -131,6 +131,7 @@ public abstract class Decision implements ToXContent {
|
||||||
break;
|
break;
|
||||||
case THROTTLE:
|
case THROTTLE:
|
||||||
out.writeVInt(2);
|
out.writeVInt(2);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new ElasticsearchIllegalArgumentException("Invalid Type [" + type + "]");
|
throw new ElasticsearchIllegalArgumentException("Invalid Type [" + type + "]");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue