rabbitmq / rabbitmq-common

Common library used by rabbitmq-server and rabbitmq-erlang-client
Other
66 stars 112 forks source link

rabbit_env: Add get_used_env_vars/0 to fetch variables used by rabbit_env #386

Closed dumbbell closed 4 years ago

dumbbell commented 4 years ago

... and their value.

Both prefixed and non-prefixed variables are returned by this function.

While here, fix a conflict between $RABBITMQ_HOME and $HOME in var_is_used/1: the latter shouldn't be considered as used.

michaelklishin commented 4 years ago

Thank you!

michaelklishin commented 4 years ago

Backported to v3.8.x.