Change IndexPrimaryShardNotAllocatedException from 409 (RestStatus.CONFLICT) to 500 (RestStatus.INTERNAL_SERVER_ERROR)

Closes #7632, Closes #7987
This commit is contained in:
Reuben Sutton 2014-10-04 18:44:25 +01:00 committed by Boaz Leskes
parent d5e813929c
commit 645ce26287
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@ public class IndexPrimaryShardNotAllocatedException extends IndexException {
@Override
public RestStatus status() {
return RestStatus.CONFLICT;
return RestStatus.INTERNAL_SERVER_ERROR;
}
}