Skip to content

Commit 1ba0521

Browse files
committed
MB-63922: Correct durabilityImpossibleFallback error message
It should say disabled rather than none. Change-Id: Iadd575fc8fc0012bd58c490e6a480795d7c9ead5 Reviewed-on: https://review.couchbase.org/c/ns_server/+/218152 Tested-by: Ben Huddleston <[email protected]> Reviewed-by: Peter Searby <[email protected]> Well-Formed: Build Bot <[email protected]>
1 parent 8220896 commit 1ba0521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/ns_server/src/menelaus_web_buckets.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ parse_validate_durability_impossible_fallback("fallbackToActiveAck") ->
22662266
{ok, durability_impossible_fallback, fallback_to_master_ack};
22672267
parse_validate_durability_impossible_fallback(_) ->
22682268
{error, durability_impossible_fallback,
2269-
<<"Durability impossible fallback must be either 'none' or "
2269+
<<"Durability impossible fallback must be either 'disabled' or "
22702270
"'fallbackToActiveAck'">>}.
22712271

22722272
parse_validate_warmup_behavior(Params, _IsNew, false = _IsMorpheus) ->
@@ -4586,7 +4586,7 @@ basic_bucket_params_screening_t() ->
45864586
{"warmupBehavior", "badValue"}],
45874587
AllBuckets),
45884588
?assertEqual([{durability_impossible_fallback,
4589-
<<"Durability impossible fallback must be either 'none' "
4589+
<<"Durability impossible fallback must be either 'disabled' "
45904590
"or 'fallbackToActiveAck'">>},
45914591
{warmup_behavior,
45924592
<<"Warmup behavior must be either 'background' or "

0 commit comments

Comments
 (0)