diff --git a/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/Decision.java b/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/Decision.java index 9f79c4e7df4..4f05fd196fb 100644 --- a/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/Decision.java +++ b/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/Decision.java @@ -131,6 +131,7 @@ public abstract class Decision implements ToXContent { break; case THROTTLE: out.writeVInt(2); + break; default: throw new ElasticsearchIllegalArgumentException("Invalid Type [" + type + "]"); }