-
Notifications
You must be signed in to change notification settings - Fork 34
Deprecate RABBITMQ_ERLANG_COOKIE env variable support #445
Conversation
This looks good!
Could we make it stand out more? I'm thinking bold and red, something like this: $ RABBITMQ_ERLANG_COOKIE=foo sbin/rabbitmqctl status
- RABBITMQ_ERLANG_COOKIE env variable support is deprecated and will be REMOVED in a future version.
- Use the $HOME/.erlang.cookie file or the --erlang-cookie switch instead.
Error: unable to perform an operation on node 'rabbit@focker'. Please see diagnostics information and suggestions below.
... I was also thinking that maybe we should print a warning if the value of the |
I am reluctant to make CLI tools [explicitly] read the cookie file. |
I've made the message print
bold and in red, and
in yellow to stand out more. |
Deprecate RABBITMQ_ERLANG_COOKIE env variable support (cherry picked from commit 3a83697)
Backported to |
A little hard to read the part in yellow with a white background but I guess most color choices would not be equally legible. |
Maybe bold instead of yellow? |
It's not worth the confusion it causes in practice since the server does not support it.
To test:
Per discussion with @gerhard @dumbbell.
Closes #443.