Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Newton
rabbitmq-server
0004-Format-Web-contexts.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-Format-Web-contexts.patch of Package rabbitmq-server
From 6f8a2fc11ee11df9d032831ef7e2898f2561a309 Mon Sep 17 00:00:00 2001 From: Michael Klishin <michael@clojurewerkz.org> Date: Mon, 8 May 2017 22:29:43 +0300 Subject: [PATCH 4/4] Format Web contexts Part of #393. [#145067679] --- src/rabbit_mgmt_wm_overview.erl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/rabbit_mgmt_wm_overview.erl b/src/rabbit_mgmt_wm_overview.erl index 0029d16f..830c71c2 100644 --- a/src/rabbit_mgmt_wm_overview.erl +++ b/src/rabbit_mgmt_wm_overview.erl @@ -90,8 +90,11 @@ web_contexts(ReqData) -> [fmt_contexts(N) || N <- rabbit_mgmt_wm_nodes:all_nodes(ReqData)]), ["description", "port", "node"]). -fmt_contexts(N) -> - [[{node, pget(name, N)} | C] || C <- pget(contexts, N, [])]. +fmt_contexts(Node) -> + [fmt_context(Node, C) || C <- pget(contexts, Node, [])]. + +fmt_context(Node, C) -> + rabbit_mgmt_format:web_context([{node, pget(name, Node)} | C]). erlang_version() -> list_to_binary(rabbit_misc:otp_release()). -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor