Skip to content
Browse files

Revert "issue replicas warning when configing default bucket. Bug 2712"

It was decided that issuing that warning on setup screen does not make
sense as we always have only one node at this point.

This reverts commit bec930a.

Change-Id: I0f121c0de71d8620e3f7a1a79ff0b82cc282ea2e
Reviewed-on: http://review.northscale.com/3170
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Sean Lynch <seanl@literati.org>
  • Loading branch information...
1 parent 4ceb031 commit ce0f935716838cbae1bd1cdee54d43fe85cad699 Aliaksey Kandratsenka committed with seanlynch Oct 8, 2010
Showing with 3 additions and 8 deletions.
  1. +3 −8 deps/menelaus/src/menelaus_web_buckets.erl
View
11 deps/menelaus/src/menelaus_web_buckets.erl
@@ -316,14 +316,9 @@ handle_setup_default_bucket_post(Req) ->
{errors, Errors} ->
reply_json(Req, {struct, Errors}, 400)
end;
- {true, {ok, ParsedProps, JSONSummaries}} ->
- FinalErrors = perform_warnings_validation(ParsedProps, []),
- reply_json(Req, {struct, [{errors, {struct, FinalErrors}},
- {summaries, {struct, JSONSummaries}}]},
- case FinalErrors of
- [] -> 200;
- _ -> 400
- end)
+ {true, {ok, _, JSONSummaries}} ->
+ reply_json(Req, {struct, [{errors, {struct, []}},
+ {summaries, {struct, JSONSummaries}}]}, 200)
end.
-record(ram_summary, {

0 comments on commit ce0f935

Please sign in to comment.
Something went wrong with that request. Please try again.