File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 33
33
-export ([product_info /0 ,
34
34
product_name /0 ,
35
35
product_version /0 ,
36
+ base_product_name /0 ,
37
+ base_product_version /0 ,
36
38
motd_file /0 ,
37
39
motd /0 ]).
38
40
-export ([log_locations /0 , config_files /0 ]). % % for testing and mgmt-agent
@@ -672,12 +674,16 @@ maybe_print_boot_progress(true, IterationsLeft) ->
672
674
{memory , any ()}].
673
675
674
676
status () ->
675
- Version = product_version (),
677
+ Version = base_product_version (),
678
+ #{name := ProductName ,
679
+ version := ProductVersion } = product_info (),
676
680
S1 = [{pid , list_to_integer (os :getpid ())},
677
681
% % The timeout value used is twice that of gen_server:call/2.
678
682
{running_applications , rabbit_misc :which_applications ()},
679
683
{os , os :type ()},
680
684
{rabbitmq_version , Version },
685
+ {product_name , ProductName },
686
+ {product_version , ProductVersion },
681
687
{erlang_version , erlang :system_info (system_version )},
682
688
{memory , rabbit_vm :memory ()},
683
689
{alarms , alarms ()},
You can’t perform that action at this time.
0 commit comments