Skip to content

Commit

Permalink
Change IndexPrimaryShardNotAllocatedException from 409 (RestStatus.CO…
Browse files Browse the repository at this point in the history
…NFLICT) to 500 (RestStatus.INTERNAL_SERVER_ERROR)

Closes #7632, Closes #7987
  • Loading branch information
reuben-sutton authored and bleskes committed Oct 20, 2014
1 parent d5e8139 commit 645ce26
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -35,6 +35,6 @@ public IndexPrimaryShardNotAllocatedException(Index index) {

@Override
public RestStatus status() {
return RestStatus.CONFLICT;
return RestStatus.INTERNAL_SERVER_ERROR;
}
}

0 comments on commit 645ce26

Please sign in to comment.