Skip to content

Commit

Permalink
crash hard if no riak connection at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriy Zavada committed Aug 21, 2023
1 parent 69695fd commit 612c418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/riak_cs/src/riak_cs_app.erl
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ ensure_bucket_props(Pbc) ->
?IAM_POLICY_BUCKET,
?IAM_SAMLPROVIDER_BUCKET,
?TEMP_SESSIONS_BUCKET],
[riakc_pb_socket:set_bucket(Pbc, B, [{allow_mult, true}]) || B <- BucketsWithMultiTrue],
[riakc_pb_socket:set_bucket(Pbc, B, [{allow_mult, false}]) || B <- BucketsWithMultiFalse],
[ok = riakc_pb_socket:set_bucket(Pbc, B, [{allow_mult, true}]) || B <- BucketsWithMultiTrue],
[ok = riakc_pb_socket:set_bucket(Pbc, B, [{allow_mult, false}]) || B <- BucketsWithMultiFalse],
?LOG_DEBUG("ensure_bucket_props done"),
ok.

Expand Down

0 comments on commit 612c418

Please sign in to comment.