Skip to content

Commit c111f33

Browse files
Naming #13809
(cherry picked from commit c9b2b7f)
1 parent e0bccb4 commit c111f33

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

deps/rabbitmq_management/priv/www/js/tmpl/overview.ejs

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
<% } %>
253253
<th>Bound to</th>
254254
<th>Port</th>
255-
<th>SSL</th>
255+
<th>TLS</th>
256256
</tr>
257257
<%
258258
for (var i = 0; i < overview.listeners.length; i++) {
@@ -265,7 +265,7 @@
265265
<% } %>
266266
<td><%= listener.ip_address %></td>
267267
<td><%= listener.port %></td>
268-
<td class="c"><%= fmt_boolean(listener.ssl || false) %></td>
268+
<td class="c"><%= fmt_boolean(listener.tls || false) %></td>
269269
</tr>
270270
<% } %>
271271
</table>

deps/rabbitmq_management_agent/src/rabbit_mgmt_format.erl

+2-2
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,15 @@ listener(#listener{node = Node, protocol = Protocol,
280280
{ip_address, ip(IPAddress)},
281281
{port, Port},
282282
{socket_opts, format_socket_opts(Opts)},
283-
{ssl, is_ssl_socket(Opts)}
283+
{tls, has_tls_enabled(Opts)}
284284
].
285285

286286
web_context(Props0) ->
287287
SslOpts = pget(ssl_opts, Props0, []),
288288
Props = proplists:delete(ssl_opts, Props0),
289289
[{ssl_opts, format_socket_opts(SslOpts)} | Props].
290290

291-
is_ssl_socket(Opts) ->
291+
has_tls_enabled(Opts) ->
292292
S = proplists:get_value(socket_opts, Opts, Opts),
293293
(proplists:get_value(ssl_opts, S, undefined) =/= undefined) orelse
294294
(proplists:get_value(cacertfile, S, undefined) =/= undefined) orelse

0 commit comments

Comments
 (0)