Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Aug 20, 2024

This is a follow-up to #11998. The main change is to return a non-zero exit code for rabbitmqctl enable_feature_flag <expermental-flag>. When enabling khepri_db locally I wasn't 100% sure rabbitmqctl didn't attempt to enable the flag regardless (i.e. the message seemed more like a warning) and I thought a non-zero exit code and the error text would make it more obvious.

Also included are a typo fix and unit tests for the --experimental flag, one for all and another for a given experimental feature flag name.


This is an automatic backport of pull request #12066 done by Mergify.

With the prior behavior it can be unclear whether the text was a warning
and the feature flag was enabled anyways. We can use a non-zero exit
code and the `{:error, code, text}` return value to make it clear that
the flag wasn't enabled.

(cherry picked from commit dc611dd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants