File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
deps/rabbitmq_cli/lib/rabbitmq/cli/core Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ defmodule RabbitMQ.CLI.Core.Distribution do
69
69
70
70
cookie ->
71
71
Node . set_cookie ( cookie )
72
- maybe_warn_about_deprecated_rabbitmq_erlang_cookie_env_variable ( options )
73
72
:ok
74
73
end
75
74
end
@@ -111,28 +110,4 @@ defmodule RabbitMQ.CLI.Core.Distribution do
111
110
String . to_atom ( "rabbitmqcli-#{ id } -#{ rmq_hostname } " )
112
111
end
113
112
end
114
-
115
- defp maybe_warn_about_deprecated_rabbitmq_erlang_cookie_env_variable ( options ) do
116
- case System . get_env ( "RABBITMQ_ERLANG_COOKIE" ) do
117
- nil ->
118
- :ok
119
-
120
- _ ->
121
- case Config . output_less? ( options ) do
122
- true ->
123
- :ok
124
-
125
- false ->
126
- warning =
127
- ANSI . bright_red (
128
- "RABBITMQ_ERLANG_COOKIE env variable support is deprecated and will be REMOVED in a future version. "
129
- ) <>
130
- ANSI . yellow (
131
- "Use the $HOME/.erlang.cookie file or the --erlang-cookie switch instead."
132
- )
133
-
134
- IO . puts ( warning )
135
- end
136
- end
137
- end
138
113
end
You can’t perform that action at this time.
0 commit comments